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

POGOProtos.Data.Telemetry.PlatformServerDataOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Telemetry;

public final class PlatformServerDataOuterClass {
  private PlatformServerDataOuterClass() {}
  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 PlatformServerDataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Data.Telemetry.PlatformServerData)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string user_id = 1;
     */
    java.lang.String getUserId();
    /**
     * string user_id = 1;
     */
    com.google.protobuf.ByteString
        getUserIdBytes();

    /**
     * string telemetry_id = 2;
     */
    java.lang.String getTelemetryId();
    /**
     * string telemetry_id = 2;
     */
    com.google.protobuf.ByteString
        getTelemetryIdBytes();

    /**
     * string session_id = 3;
     */
    java.lang.String getSessionId();
    /**
     * string session_id = 3;
     */
    com.google.protobuf.ByteString
        getSessionIdBytes();

    /**
     * repeated int32 experiment_ids = 4;
     */
    java.util.List getExperimentIdsList();
    /**
     * repeated int32 experiment_ids = 4;
     */
    int getExperimentIdsCount();
    /**
     * repeated int32 experiment_ids = 4;
     */
    int getExperimentIds(int index);

    /**
     * string event_request_id = 5;
     */
    java.lang.String getEventRequestId();
    /**
     * string event_request_id = 5;
     */
    com.google.protobuf.ByteString
        getEventRequestIdBytes();

    /**
     * int64 server_timestamp_ms = 6;
     */
    long getServerTimestampMs();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Telemetry.PlatformServerData}
   */
  public  static final class PlatformServerData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Telemetry.PlatformServerData)
      PlatformServerDataOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PlatformServerData.newBuilder() to construct.
    private PlatformServerData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private PlatformServerData() {
      userId_ = "";
      telemetryId_ = "";
      sessionId_ = "";
      experimentIds_ = java.util.Collections.emptyList();
      eventRequestId_ = "";
      serverTimestampMs_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PlatformServerData(
        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 10: {
              java.lang.String s = input.readStringRequireUtf8();

              userId_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              telemetryId_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              sessionId_ = s;
              break;
            }
            case 32: {
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                experimentIds_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              experimentIds_.add(input.readInt32());
              break;
            }
            case 34: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) {
                experimentIds_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              while (input.getBytesUntilLimit() > 0) {
                experimentIds_.add(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();

              eventRequestId_ = s;
              break;
            }
            case 48: {

              serverTimestampMs_ = input.readInt64();
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          experimentIds_ = java.util.Collections.unmodifiableList(experimentIds_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.internal_static_POGOProtos_Data_Telemetry_PlatformServerData_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.internal_static_POGOProtos_Data_Telemetry_PlatformServerData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData.class, POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData.Builder.class);
    }

    private int bitField0_;
    public static final int USER_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object userId_;
    /**
     * string user_id = 1;
     */
    public java.lang.String getUserId() {
      java.lang.Object ref = userId_;
      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();
        userId_ = s;
        return s;
      }
    }
    /**
     * string user_id = 1;
     */
    public com.google.protobuf.ByteString
        getUserIdBytes() {
      java.lang.Object ref = userId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        userId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TELEMETRY_ID_FIELD_NUMBER = 2;
    private volatile java.lang.Object telemetryId_;
    /**
     * string telemetry_id = 2;
     */
    public java.lang.String getTelemetryId() {
      java.lang.Object ref = telemetryId_;
      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();
        telemetryId_ = s;
        return s;
      }
    }
    /**
     * string telemetry_id = 2;
     */
    public com.google.protobuf.ByteString
        getTelemetryIdBytes() {
      java.lang.Object ref = telemetryId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        telemetryId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SESSION_ID_FIELD_NUMBER = 3;
    private volatile java.lang.Object sessionId_;
    /**
     * string session_id = 3;
     */
    public java.lang.String getSessionId() {
      java.lang.Object ref = sessionId_;
      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();
        sessionId_ = s;
        return s;
      }
    }
    /**
     * string session_id = 3;
     */
    public com.google.protobuf.ByteString
        getSessionIdBytes() {
      java.lang.Object ref = sessionId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sessionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int EXPERIMENT_IDS_FIELD_NUMBER = 4;
    private java.util.List experimentIds_;
    /**
     * repeated int32 experiment_ids = 4;
     */
    public java.util.List
        getExperimentIdsList() {
      return experimentIds_;
    }
    /**
     * repeated int32 experiment_ids = 4;
     */
    public int getExperimentIdsCount() {
      return experimentIds_.size();
    }
    /**
     * repeated int32 experiment_ids = 4;
     */
    public int getExperimentIds(int index) {
      return experimentIds_.get(index);
    }
    private int experimentIdsMemoizedSerializedSize = -1;

    public static final int EVENT_REQUEST_ID_FIELD_NUMBER = 5;
    private volatile java.lang.Object eventRequestId_;
    /**
     * string event_request_id = 5;
     */
    public java.lang.String getEventRequestId() {
      java.lang.Object ref = eventRequestId_;
      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();
        eventRequestId_ = s;
        return s;
      }
    }
    /**
     * string event_request_id = 5;
     */
    public com.google.protobuf.ByteString
        getEventRequestIdBytes() {
      java.lang.Object ref = eventRequestId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        eventRequestId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SERVER_TIMESTAMP_MS_FIELD_NUMBER = 6;
    private long serverTimestampMs_;
    /**
     * int64 server_timestamp_ms = 6;
     */
    public long getServerTimestampMs() {
      return serverTimestampMs_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (!getUserIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userId_);
      }
      if (!getTelemetryIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, telemetryId_);
      }
      if (!getSessionIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sessionId_);
      }
      if (getExperimentIdsList().size() > 0) {
        output.writeUInt32NoTag(34);
        output.writeUInt32NoTag(experimentIdsMemoizedSerializedSize);
      }
      for (int i = 0; i < experimentIds_.size(); i++) {
        output.writeInt32NoTag(experimentIds_.get(i));
      }
      if (!getEventRequestIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, eventRequestId_);
      }
      if (serverTimestampMs_ != 0L) {
        output.writeInt64(6, serverTimestampMs_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getUserIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userId_);
      }
      if (!getTelemetryIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, telemetryId_);
      }
      if (!getSessionIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sessionId_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < experimentIds_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(experimentIds_.get(i));
        }
        size += dataSize;
        if (!getExperimentIdsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        experimentIdsMemoizedSerializedSize = dataSize;
      }
      if (!getEventRequestIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, eventRequestId_);
      }
      if (serverTimestampMs_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(6, serverTimestampMs_);
      }
      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.Telemetry.PlatformServerDataOuterClass.PlatformServerData)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData other = (POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData) obj;

      boolean result = true;
      result = result && getUserId()
          .equals(other.getUserId());
      result = result && getTelemetryId()
          .equals(other.getTelemetryId());
      result = result && getSessionId()
          .equals(other.getSessionId());
      result = result && getExperimentIdsList()
          .equals(other.getExperimentIdsList());
      result = result && getEventRequestId()
          .equals(other.getEventRequestId());
      result = result && (getServerTimestampMs()
          == other.getServerTimestampMs());
      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) + USER_ID_FIELD_NUMBER;
      hash = (53 * hash) + getUserId().hashCode();
      hash = (37 * hash) + TELEMETRY_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTelemetryId().hashCode();
      hash = (37 * hash) + SESSION_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSessionId().hashCode();
      if (getExperimentIdsCount() > 0) {
        hash = (37 * hash) + EXPERIMENT_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getExperimentIdsList().hashCode();
      }
      hash = (37 * hash) + EVENT_REQUEST_ID_FIELD_NUMBER;
      hash = (53 * hash) + getEventRequestId().hashCode();
      hash = (37 * hash) + SERVER_TIMESTAMP_MS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getServerTimestampMs());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.internal_static_POGOProtos_Data_Telemetry_PlatformServerData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData.class, POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData.Builder.class);
      }

      // Construct using POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData.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();
        userId_ = "";

        telemetryId_ = "";

        sessionId_ = "";

        experimentIds_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        eventRequestId_ = "";

        serverTimestampMs_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.internal_static_POGOProtos_Data_Telemetry_PlatformServerData_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData getDefaultInstanceForType() {
        return POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData build() {
        POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData buildPartial() {
        POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData result = new POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.userId_ = userId_;
        result.telemetryId_ = telemetryId_;
        result.sessionId_ = sessionId_;
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          experimentIds_ = java.util.Collections.unmodifiableList(experimentIds_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.experimentIds_ = experimentIds_;
        result.eventRequestId_ = eventRequestId_;
        result.serverTimestampMs_ = serverTimestampMs_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return (Builder) super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData) {
          return mergeFrom((POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData other) {
        if (other == POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData.getDefaultInstance()) return this;
        if (!other.getUserId().isEmpty()) {
          userId_ = other.userId_;
          onChanged();
        }
        if (!other.getTelemetryId().isEmpty()) {
          telemetryId_ = other.telemetryId_;
          onChanged();
        }
        if (!other.getSessionId().isEmpty()) {
          sessionId_ = other.sessionId_;
          onChanged();
        }
        if (!other.experimentIds_.isEmpty()) {
          if (experimentIds_.isEmpty()) {
            experimentIds_ = other.experimentIds_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureExperimentIdsIsMutable();
            experimentIds_.addAll(other.experimentIds_);
          }
          onChanged();
        }
        if (!other.getEventRequestId().isEmpty()) {
          eventRequestId_ = other.eventRequestId_;
          onChanged();
        }
        if (other.getServerTimestampMs() != 0L) {
          setServerTimestampMs(other.getServerTimestampMs());
        }
        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.Telemetry.PlatformServerDataOuterClass.PlatformServerData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object userId_ = "";
      /**
       * string user_id = 1;
       */
      public java.lang.String getUserId() {
        java.lang.Object ref = userId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          userId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string user_id = 1;
       */
      public com.google.protobuf.ByteString
          getUserIdBytes() {
        java.lang.Object ref = userId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          userId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string user_id = 1;
       */
      public Builder setUserId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        userId_ = value;
        onChanged();
        return this;
      }
      /**
       * string user_id = 1;
       */
      public Builder clearUserId() {
        
        userId_ = getDefaultInstance().getUserId();
        onChanged();
        return this;
      }
      /**
       * string user_id = 1;
       */
      public Builder setUserIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        userId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object telemetryId_ = "";
      /**
       * string telemetry_id = 2;
       */
      public java.lang.String getTelemetryId() {
        java.lang.Object ref = telemetryId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          telemetryId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string telemetry_id = 2;
       */
      public com.google.protobuf.ByteString
          getTelemetryIdBytes() {
        java.lang.Object ref = telemetryId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          telemetryId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string telemetry_id = 2;
       */
      public Builder setTelemetryId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        telemetryId_ = value;
        onChanged();
        return this;
      }
      /**
       * string telemetry_id = 2;
       */
      public Builder clearTelemetryId() {
        
        telemetryId_ = getDefaultInstance().getTelemetryId();
        onChanged();
        return this;
      }
      /**
       * string telemetry_id = 2;
       */
      public Builder setTelemetryIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        telemetryId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object sessionId_ = "";
      /**
       * string session_id = 3;
       */
      public java.lang.String getSessionId() {
        java.lang.Object ref = sessionId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          sessionId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string session_id = 3;
       */
      public com.google.protobuf.ByteString
          getSessionIdBytes() {
        java.lang.Object ref = sessionId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          sessionId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string session_id = 3;
       */
      public Builder setSessionId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sessionId_ = value;
        onChanged();
        return this;
      }
      /**
       * string session_id = 3;
       */
      public Builder clearSessionId() {
        
        sessionId_ = getDefaultInstance().getSessionId();
        onChanged();
        return this;
      }
      /**
       * string session_id = 3;
       */
      public Builder setSessionIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sessionId_ = value;
        onChanged();
        return this;
      }

      private java.util.List experimentIds_ = java.util.Collections.emptyList();
      private void ensureExperimentIdsIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          experimentIds_ = new java.util.ArrayList(experimentIds_);
          bitField0_ |= 0x00000008;
         }
      }
      /**
       * repeated int32 experiment_ids = 4;
       */
      public java.util.List
          getExperimentIdsList() {
        return java.util.Collections.unmodifiableList(experimentIds_);
      }
      /**
       * repeated int32 experiment_ids = 4;
       */
      public int getExperimentIdsCount() {
        return experimentIds_.size();
      }
      /**
       * repeated int32 experiment_ids = 4;
       */
      public int getExperimentIds(int index) {
        return experimentIds_.get(index);
      }
      /**
       * repeated int32 experiment_ids = 4;
       */
      public Builder setExperimentIds(
          int index, int value) {
        ensureExperimentIdsIsMutable();
        experimentIds_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 experiment_ids = 4;
       */
      public Builder addExperimentIds(int value) {
        ensureExperimentIdsIsMutable();
        experimentIds_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 experiment_ids = 4;
       */
      public Builder addAllExperimentIds(
          java.lang.Iterable values) {
        ensureExperimentIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, experimentIds_);
        onChanged();
        return this;
      }
      /**
       * repeated int32 experiment_ids = 4;
       */
      public Builder clearExperimentIds() {
        experimentIds_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }

      private java.lang.Object eventRequestId_ = "";
      /**
       * string event_request_id = 5;
       */
      public java.lang.String getEventRequestId() {
        java.lang.Object ref = eventRequestId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          eventRequestId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string event_request_id = 5;
       */
      public com.google.protobuf.ByteString
          getEventRequestIdBytes() {
        java.lang.Object ref = eventRequestId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          eventRequestId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string event_request_id = 5;
       */
      public Builder setEventRequestId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        eventRequestId_ = value;
        onChanged();
        return this;
      }
      /**
       * string event_request_id = 5;
       */
      public Builder clearEventRequestId() {
        
        eventRequestId_ = getDefaultInstance().getEventRequestId();
        onChanged();
        return this;
      }
      /**
       * string event_request_id = 5;
       */
      public Builder setEventRequestIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        eventRequestId_ = value;
        onChanged();
        return this;
      }

      private long serverTimestampMs_ ;
      /**
       * int64 server_timestamp_ms = 6;
       */
      public long getServerTimestampMs() {
        return serverTimestampMs_;
      }
      /**
       * int64 server_timestamp_ms = 6;
       */
      public Builder setServerTimestampMs(long value) {
        
        serverTimestampMs_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 server_timestamp_ms = 6;
       */
      public Builder clearServerTimestampMs() {
        
        serverTimestampMs_ = 0L;
        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.Telemetry.PlatformServerData)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Telemetry.PlatformServerData)
    private static final POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData();
    }

    public static POGOProtos.Data.Telemetry.PlatformServerDataOuterClass.PlatformServerData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Telemetry_PlatformServerData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Telemetry_PlatformServerData_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n2POGOProtos/Data/Telemetry/PlatformServ" +
      "erData.proto\022\031POGOProtos.Data.Telemetry\"" +
      "\236\001\n\022PlatformServerData\022\017\n\007user_id\030\001 \001(\t\022" +
      "\024\n\014telemetry_id\030\002 \001(\t\022\022\n\nsession_id\030\003 \001(" +
      "\t\022\026\n\016experiment_ids\030\004 \003(\005\022\030\n\020event_reque" +
      "st_id\030\005 \001(\t\022\033\n\023server_timestamp_ms\030\006 \001(\003" +
      "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_Telemetry_PlatformServerData_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Telemetry_PlatformServerData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Telemetry_PlatformServerData_descriptor,
        new java.lang.String[] { "UserId", "TelemetryId", "SessionId", "ExperimentIds", "EventRequestId", "ServerTimestampMs", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy