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

POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: POGOProtos/Networking/Responses/Social/UpdateNotificationResponse.proto

package POGOProtos.Networking.Responses.Social;

public final class UpdateNotificationResponseOuterClass {
  private UpdateNotificationResponseOuterClass() {}
  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 UpdateNotificationResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Responses.Social.UpdateNotificationResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated string notification_ids = 1;
     */
    java.util.List
        getNotificationIdsList();
    /**
     * repeated string notification_ids = 1;
     */
    int getNotificationIdsCount();
    /**
     * repeated string notification_ids = 1;
     */
    java.lang.String getNotificationIds(int index);
    /**
     * repeated string notification_ids = 1;
     */
    com.google.protobuf.ByteString
        getNotificationIdsBytes(int index);

    /**
     * repeated int64 create_timestamp_ms = 2;
     */
    java.util.List getCreateTimestampMsList();
    /**
     * repeated int64 create_timestamp_ms = 2;
     */
    int getCreateTimestampMsCount();
    /**
     * repeated int64 create_timestamp_ms = 2;
     */
    long getCreateTimestampMs(int index);

    /**
     * .POGOProtos.Enums.NotificationState state = 3;
     */
    int getStateValue();
    /**
     * .POGOProtos.Enums.NotificationState state = 3;
     */
    POGOProtos.Enums.NotificationStateOuterClass.NotificationState getState();
  }
  /**
   * Protobuf type {@code POGOProtos.Networking.Responses.Social.UpdateNotificationResponse}
   */
  public  static final class UpdateNotificationResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Networking.Responses.Social.UpdateNotificationResponse)
      UpdateNotificationResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use UpdateNotificationResponse.newBuilder() to construct.
    private UpdateNotificationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private UpdateNotificationResponse() {
      notificationIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      createTimestampMs_ = java.util.Collections.emptyList();
      state_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private UpdateNotificationResponse(
        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();
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                notificationIds_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              notificationIds_.add(s);
              break;
            }
            case 16: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                createTimestampMs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              createTimestampMs_.add(input.readInt64());
              break;
            }
            case 18: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
                createTimestampMs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                createTimestampMs_.add(input.readInt64());
              }
              input.popLimit(limit);
              break;
            }
            case 24: {
              int rawValue = input.readEnum();

              state_ = rawValue;
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          notificationIds_ = notificationIds_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          createTimestampMs_ = java.util.Collections.unmodifiableList(createTimestampMs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse.class, POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse.Builder.class);
    }

    private int bitField0_;
    public static final int NOTIFICATION_IDS_FIELD_NUMBER = 1;
    private com.google.protobuf.LazyStringList notificationIds_;
    /**
     * repeated string notification_ids = 1;
     */
    public com.google.protobuf.ProtocolStringList
        getNotificationIdsList() {
      return notificationIds_;
    }
    /**
     * repeated string notification_ids = 1;
     */
    public int getNotificationIdsCount() {
      return notificationIds_.size();
    }
    /**
     * repeated string notification_ids = 1;
     */
    public java.lang.String getNotificationIds(int index) {
      return notificationIds_.get(index);
    }
    /**
     * repeated string notification_ids = 1;
     */
    public com.google.protobuf.ByteString
        getNotificationIdsBytes(int index) {
      return notificationIds_.getByteString(index);
    }

    public static final int CREATE_TIMESTAMP_MS_FIELD_NUMBER = 2;
    private java.util.List createTimestampMs_;
    /**
     * repeated int64 create_timestamp_ms = 2;
     */
    public java.util.List
        getCreateTimestampMsList() {
      return createTimestampMs_;
    }
    /**
     * repeated int64 create_timestamp_ms = 2;
     */
    public int getCreateTimestampMsCount() {
      return createTimestampMs_.size();
    }
    /**
     * repeated int64 create_timestamp_ms = 2;
     */
    public long getCreateTimestampMs(int index) {
      return createTimestampMs_.get(index);
    }
    private int createTimestampMsMemoizedSerializedSize = -1;

    public static final int STATE_FIELD_NUMBER = 3;
    private int state_;
    /**
     * .POGOProtos.Enums.NotificationState state = 3;
     */
    public int getStateValue() {
      return state_;
    }
    /**
     * .POGOProtos.Enums.NotificationState state = 3;
     */
    public POGOProtos.Enums.NotificationStateOuterClass.NotificationState getState() {
      @SuppressWarnings("deprecation")
      POGOProtos.Enums.NotificationStateOuterClass.NotificationState result = POGOProtos.Enums.NotificationStateOuterClass.NotificationState.valueOf(state_);
      return result == null ? POGOProtos.Enums.NotificationStateOuterClass.NotificationState.UNRECOGNIZED : result;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < notificationIds_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, notificationIds_.getRaw(i));
      }
      if (getCreateTimestampMsList().size() > 0) {
        output.writeUInt32NoTag(18);
        output.writeUInt32NoTag(createTimestampMsMemoizedSerializedSize);
      }
      for (int i = 0; i < createTimestampMs_.size(); i++) {
        output.writeInt64NoTag(createTimestampMs_.get(i));
      }
      if (state_ != POGOProtos.Enums.NotificationStateOuterClass.NotificationState.UNSET_STATE.getNumber()) {
        output.writeEnum(3, state_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < notificationIds_.size(); i++) {
          dataSize += computeStringSizeNoTag(notificationIds_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getNotificationIdsList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < createTimestampMs_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt64SizeNoTag(createTimestampMs_.get(i));
        }
        size += dataSize;
        if (!getCreateTimestampMsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        createTimestampMsMemoizedSerializedSize = dataSize;
      }
      if (state_ != POGOProtos.Enums.NotificationStateOuterClass.NotificationState.UNSET_STATE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(3, state_);
      }
      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.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse)) {
        return super.equals(obj);
      }
      POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse other = (POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse) obj;

      boolean result = true;
      result = result && getNotificationIdsList()
          .equals(other.getNotificationIdsList());
      result = result && getCreateTimestampMsList()
          .equals(other.getCreateTimestampMsList());
      result = result && state_ == other.state_;
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getNotificationIdsCount() > 0) {
        hash = (37 * hash) + NOTIFICATION_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getNotificationIdsList().hashCode();
      }
      if (getCreateTimestampMsCount() > 0) {
        hash = (37 * hash) + CREATE_TIMESTAMP_MS_FIELD_NUMBER;
        hash = (53 * hash) + getCreateTimestampMsList().hashCode();
      }
      hash = (37 * hash) + STATE_FIELD_NUMBER;
      hash = (53 * hash) + state_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse.class, POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse.Builder.class);
      }

      // Construct using POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse.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();
        notificationIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        createTimestampMs_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        state_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse getDefaultInstanceForType() {
        return POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse build() {
        POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse buildPartial() {
        POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse result = new POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          notificationIds_ = notificationIds_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.notificationIds_ = notificationIds_;
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          createTimestampMs_ = java.util.Collections.unmodifiableList(createTimestampMs_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.createTimestampMs_ = createTimestampMs_;
        result.state_ = state_;
        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.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse) {
          return mergeFrom((POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse other) {
        if (other == POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse.getDefaultInstance()) return this;
        if (!other.notificationIds_.isEmpty()) {
          if (notificationIds_.isEmpty()) {
            notificationIds_ = other.notificationIds_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureNotificationIdsIsMutable();
            notificationIds_.addAll(other.notificationIds_);
          }
          onChanged();
        }
        if (!other.createTimestampMs_.isEmpty()) {
          if (createTimestampMs_.isEmpty()) {
            createTimestampMs_ = other.createTimestampMs_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureCreateTimestampMsIsMutable();
            createTimestampMs_.addAll(other.createTimestampMs_);
          }
          onChanged();
        }
        if (other.state_ != 0) {
          setStateValue(other.getStateValue());
        }
        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.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringList notificationIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureNotificationIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          notificationIds_ = new com.google.protobuf.LazyStringArrayList(notificationIds_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated string notification_ids = 1;
       */
      public com.google.protobuf.ProtocolStringList
          getNotificationIdsList() {
        return notificationIds_.getUnmodifiableView();
      }
      /**
       * repeated string notification_ids = 1;
       */
      public int getNotificationIdsCount() {
        return notificationIds_.size();
      }
      /**
       * repeated string notification_ids = 1;
       */
      public java.lang.String getNotificationIds(int index) {
        return notificationIds_.get(index);
      }
      /**
       * repeated string notification_ids = 1;
       */
      public com.google.protobuf.ByteString
          getNotificationIdsBytes(int index) {
        return notificationIds_.getByteString(index);
      }
      /**
       * repeated string notification_ids = 1;
       */
      public Builder setNotificationIds(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureNotificationIdsIsMutable();
        notificationIds_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated string notification_ids = 1;
       */
      public Builder addNotificationIds(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureNotificationIdsIsMutable();
        notificationIds_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated string notification_ids = 1;
       */
      public Builder addAllNotificationIds(
          java.lang.Iterable values) {
        ensureNotificationIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, notificationIds_);
        onChanged();
        return this;
      }
      /**
       * repeated string notification_ids = 1;
       */
      public Builder clearNotificationIds() {
        notificationIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * repeated string notification_ids = 1;
       */
      public Builder addNotificationIdsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureNotificationIdsIsMutable();
        notificationIds_.add(value);
        onChanged();
        return this;
      }

      private java.util.List createTimestampMs_ = java.util.Collections.emptyList();
      private void ensureCreateTimestampMsIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          createTimestampMs_ = new java.util.ArrayList(createTimestampMs_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * repeated int64 create_timestamp_ms = 2;
       */
      public java.util.List
          getCreateTimestampMsList() {
        return java.util.Collections.unmodifiableList(createTimestampMs_);
      }
      /**
       * repeated int64 create_timestamp_ms = 2;
       */
      public int getCreateTimestampMsCount() {
        return createTimestampMs_.size();
      }
      /**
       * repeated int64 create_timestamp_ms = 2;
       */
      public long getCreateTimestampMs(int index) {
        return createTimestampMs_.get(index);
      }
      /**
       * repeated int64 create_timestamp_ms = 2;
       */
      public Builder setCreateTimestampMs(
          int index, long value) {
        ensureCreateTimestampMsIsMutable();
        createTimestampMs_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated int64 create_timestamp_ms = 2;
       */
      public Builder addCreateTimestampMs(long value) {
        ensureCreateTimestampMsIsMutable();
        createTimestampMs_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated int64 create_timestamp_ms = 2;
       */
      public Builder addAllCreateTimestampMs(
          java.lang.Iterable values) {
        ensureCreateTimestampMsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, createTimestampMs_);
        onChanged();
        return this;
      }
      /**
       * repeated int64 create_timestamp_ms = 2;
       */
      public Builder clearCreateTimestampMs() {
        createTimestampMs_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private int state_ = 0;
      /**
       * .POGOProtos.Enums.NotificationState state = 3;
       */
      public int getStateValue() {
        return state_;
      }
      /**
       * .POGOProtos.Enums.NotificationState state = 3;
       */
      public Builder setStateValue(int value) {
        state_ = value;
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Enums.NotificationState state = 3;
       */
      public POGOProtos.Enums.NotificationStateOuterClass.NotificationState getState() {
        @SuppressWarnings("deprecation")
        POGOProtos.Enums.NotificationStateOuterClass.NotificationState result = POGOProtos.Enums.NotificationStateOuterClass.NotificationState.valueOf(state_);
        return result == null ? POGOProtos.Enums.NotificationStateOuterClass.NotificationState.UNRECOGNIZED : result;
      }
      /**
       * .POGOProtos.Enums.NotificationState state = 3;
       */
      public Builder setState(POGOProtos.Enums.NotificationStateOuterClass.NotificationState value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        state_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Enums.NotificationState state = 3;
       */
      public Builder clearState() {
        
        state_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:POGOProtos.Networking.Responses.Social.UpdateNotificationResponse)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Networking.Responses.Social.UpdateNotificationResponse)
    private static final POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse();
    }

    public static POGOProtos.Networking.Responses.Social.UpdateNotificationResponseOuterClass.UpdateNotificationResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\nGPOGOProtos/Networking/Responses/Social" +
      "/UpdateNotificationResponse.proto\022&POGOP" +
      "rotos.Networking.Responses.Social\032(POGOP" +
      "rotos/Enums/NotificationState.proto\"\207\001\n\032" +
      "UpdateNotificationResponse\022\030\n\020notificati" +
      "on_ids\030\001 \003(\t\022\033\n\023create_timestamp_ms\030\002 \003(" +
      "\003\0222\n\005state\030\003 \001(\0162#.POGOProtos.Enums.Noti" +
      "ficationStateb\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          POGOProtos.Enums.NotificationStateOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Networking_Responses_Social_UpdateNotificationResponse_descriptor,
        new java.lang.String[] { "NotificationIds", "CreateTimestampMs", "State", });
    POGOProtos.Enums.NotificationStateOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy