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

POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Networking.Responses;

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

    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    java.util.List 
        getDigestList();
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry getDigest(int index);
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    int getDigestCount();
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    java.util.List 
        getDigestOrBuilderList();
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntryOrBuilder getDigestOrBuilder(
        int index);

    /**
     * uint64 timestamp_ms = 2;
     */
    long getTimestampMs();

    /**
     * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
     */
    int getResultValue();
    /**
     * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
     */
    POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result getResult();

    /**
     * int32 page_offset = 4;
     */
    int getPageOffset();
  }
  /**
   * Protobuf type {@code POGOProtos.Networking.Responses.GetAssetDigestResponse}
   */
  public  static final class GetAssetDigestResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Networking.Responses.GetAssetDigestResponse)
      GetAssetDigestResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetAssetDigestResponse.newBuilder() to construct.
    private GetAssetDigestResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetAssetDigestResponse() {
      digest_ = java.util.Collections.emptyList();
      timestampMs_ = 0L;
      result_ = 0;
      pageOffset_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetAssetDigestResponse(
        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: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                digest_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              digest_.add(
                  input.readMessage(POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.parser(), extensionRegistry));
              break;
            }
            case 16: {

              timestampMs_ = input.readUInt64();
              break;
            }
            case 24: {
              int rawValue = input.readEnum();

              result_ = rawValue;
              break;
            }
            case 32: {

              pageOffset_ = input.readInt32();
              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)) {
          digest_ = java.util.Collections.unmodifiableList(digest_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetAssetDigestResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetAssetDigestResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.class, POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Builder.class);
    }

    /**
     * Protobuf enum {@code POGOProtos.Networking.Responses.GetAssetDigestResponse.Result}
     */
    public enum Result
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * UNSET = 0;
       */
      UNSET(0),
      /**
       * SUCCESS = 1;
       */
      SUCCESS(1),
      /**
       * PAGE = 2;
       */
      PAGE(2),
      /**
       * RETRY = 3;
       */
      RETRY(3),
      UNRECOGNIZED(-1),
      ;

      /**
       * UNSET = 0;
       */
      public static final int UNSET_VALUE = 0;
      /**
       * SUCCESS = 1;
       */
      public static final int SUCCESS_VALUE = 1;
      /**
       * PAGE = 2;
       */
      public static final int PAGE_VALUE = 2;
      /**
       * RETRY = 3;
       */
      public static final int RETRY_VALUE = 3;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Result valueOf(int value) {
        return forNumber(value);
      }

      public static Result forNumber(int value) {
        switch (value) {
          case 0: return UNSET;
          case 1: return SUCCESS;
          case 2: return PAGE;
          case 3: return RETRY;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Result> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public Result findValueByNumber(int number) {
                return Result.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.getDescriptor().getEnumTypes().get(0);
      }

      private static final Result[] VALUES = values();

      public static Result valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Result(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:POGOProtos.Networking.Responses.GetAssetDigestResponse.Result)
    }

    private int bitField0_;
    public static final int DIGEST_FIELD_NUMBER = 1;
    private java.util.List digest_;
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    public java.util.List getDigestList() {
      return digest_;
    }
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    public java.util.List 
        getDigestOrBuilderList() {
      return digest_;
    }
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    public int getDigestCount() {
      return digest_.size();
    }
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    public POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry getDigest(int index) {
      return digest_.get(index);
    }
    /**
     * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
     */
    public POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntryOrBuilder getDigestOrBuilder(
        int index) {
      return digest_.get(index);
    }

    public static final int TIMESTAMP_MS_FIELD_NUMBER = 2;
    private long timestampMs_;
    /**
     * uint64 timestamp_ms = 2;
     */
    public long getTimestampMs() {
      return timestampMs_;
    }

    public static final int RESULT_FIELD_NUMBER = 3;
    private int result_;
    /**
     * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
     */
    public int getResultValue() {
      return result_;
    }
    /**
     * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
     */
    public POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result getResult() {
      @SuppressWarnings("deprecation")
      POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result result = POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result.valueOf(result_);
      return result == null ? POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result.UNRECOGNIZED : result;
    }

    public static final int PAGE_OFFSET_FIELD_NUMBER = 4;
    private int pageOffset_;
    /**
     * int32 page_offset = 4;
     */
    public int getPageOffset() {
      return pageOffset_;
    }

    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 {
      for (int i = 0; i < digest_.size(); i++) {
        output.writeMessage(1, digest_.get(i));
      }
      if (timestampMs_ != 0L) {
        output.writeUInt64(2, timestampMs_);
      }
      if (result_ != POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result.UNSET.getNumber()) {
        output.writeEnum(3, result_);
      }
      if (pageOffset_ != 0) {
        output.writeInt32(4, pageOffset_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < digest_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, digest_.get(i));
      }
      if (timestampMs_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(2, timestampMs_);
      }
      if (result_ != POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result.UNSET.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(3, result_);
      }
      if (pageOffset_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, pageOffset_);
      }
      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.GetAssetDigestResponseOuterClass.GetAssetDigestResponse)) {
        return super.equals(obj);
      }
      POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse other = (POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse) obj;

      boolean result = true;
      result = result && getDigestList()
          .equals(other.getDigestList());
      result = result && (getTimestampMs()
          == other.getTimestampMs());
      result = result && result_ == other.result_;
      result = result && (getPageOffset()
          == other.getPageOffset());
      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 (getDigestCount() > 0) {
        hash = (37 * hash) + DIGEST_FIELD_NUMBER;
        hash = (53 * hash) + getDigestList().hashCode();
      }
      hash = (37 * hash) + TIMESTAMP_MS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTimestampMs());
      hash = (37 * hash) + RESULT_FIELD_NUMBER;
      hash = (53 * hash) + result_;
      hash = (37 * hash) + PAGE_OFFSET_FIELD_NUMBER;
      hash = (53 * hash) + getPageOffset();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetAssetDigestResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.class, POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Builder.class);
      }

      // Construct using POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getDigestFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (digestBuilder_ == null) {
          digest_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          digestBuilder_.clear();
        }
        timestampMs_ = 0L;

        result_ = 0;

        pageOffset_ = 0;

        return this;
      }

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

      @java.lang.Override
      public POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse getDefaultInstanceForType() {
        return POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse buildPartial() {
        POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse result = new POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (digestBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            digest_ = java.util.Collections.unmodifiableList(digest_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.digest_ = digest_;
        } else {
          result.digest_ = digestBuilder_.build();
        }
        result.timestampMs_ = timestampMs_;
        result.result_ = result_;
        result.pageOffset_ = pageOffset_;
        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.GetAssetDigestResponseOuterClass.GetAssetDigestResponse) {
          return mergeFrom((POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse other) {
        if (other == POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.getDefaultInstance()) return this;
        if (digestBuilder_ == null) {
          if (!other.digest_.isEmpty()) {
            if (digest_.isEmpty()) {
              digest_ = other.digest_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDigestIsMutable();
              digest_.addAll(other.digest_);
            }
            onChanged();
          }
        } else {
          if (!other.digest_.isEmpty()) {
            if (digestBuilder_.isEmpty()) {
              digestBuilder_.dispose();
              digestBuilder_ = null;
              digest_ = other.digest_;
              bitField0_ = (bitField0_ & ~0x00000001);
              digestBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDigestFieldBuilder() : null;
            } else {
              digestBuilder_.addAllMessages(other.digest_);
            }
          }
        }
        if (other.getTimestampMs() != 0L) {
          setTimestampMs(other.getTimestampMs());
        }
        if (other.result_ != 0) {
          setResultValue(other.getResultValue());
        }
        if (other.getPageOffset() != 0) {
          setPageOffset(other.getPageOffset());
        }
        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.GetAssetDigestResponseOuterClass.GetAssetDigestResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List digest_ =
        java.util.Collections.emptyList();
      private void ensureDigestIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          digest_ = new java.util.ArrayList(digest_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntryOrBuilder> digestBuilder_;

      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public java.util.List getDigestList() {
        if (digestBuilder_ == null) {
          return java.util.Collections.unmodifiableList(digest_);
        } else {
          return digestBuilder_.getMessageList();
        }
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public int getDigestCount() {
        if (digestBuilder_ == null) {
          return digest_.size();
        } else {
          return digestBuilder_.getCount();
        }
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry getDigest(int index) {
        if (digestBuilder_ == null) {
          return digest_.get(index);
        } else {
          return digestBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder setDigest(
          int index, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry value) {
        if (digestBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDigestIsMutable();
          digest_.set(index, value);
          onChanged();
        } else {
          digestBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder setDigest(
          int index, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder builderForValue) {
        if (digestBuilder_ == null) {
          ensureDigestIsMutable();
          digest_.set(index, builderForValue.build());
          onChanged();
        } else {
          digestBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder addDigest(POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry value) {
        if (digestBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDigestIsMutable();
          digest_.add(value);
          onChanged();
        } else {
          digestBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder addDigest(
          int index, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry value) {
        if (digestBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDigestIsMutable();
          digest_.add(index, value);
          onChanged();
        } else {
          digestBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder addDigest(
          POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder builderForValue) {
        if (digestBuilder_ == null) {
          ensureDigestIsMutable();
          digest_.add(builderForValue.build());
          onChanged();
        } else {
          digestBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder addDigest(
          int index, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder builderForValue) {
        if (digestBuilder_ == null) {
          ensureDigestIsMutable();
          digest_.add(index, builderForValue.build());
          onChanged();
        } else {
          digestBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder addAllDigest(
          java.lang.Iterable values) {
        if (digestBuilder_ == null) {
          ensureDigestIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, digest_);
          onChanged();
        } else {
          digestBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder clearDigest() {
        if (digestBuilder_ == null) {
          digest_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          digestBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public Builder removeDigest(int index) {
        if (digestBuilder_ == null) {
          ensureDigestIsMutable();
          digest_.remove(index);
          onChanged();
        } else {
          digestBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder getDigestBuilder(
          int index) {
        return getDigestFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntryOrBuilder getDigestOrBuilder(
          int index) {
        if (digestBuilder_ == null) {
          return digest_.get(index);  } else {
          return digestBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public java.util.List 
           getDigestOrBuilderList() {
        if (digestBuilder_ != null) {
          return digestBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(digest_);
        }
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder addDigestBuilder() {
        return getDigestFieldBuilder().addBuilder(
            POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder addDigestBuilder(
          int index) {
        return getDigestFieldBuilder().addBuilder(
            index, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.AssetDigestEntry digest = 1;
       */
      public java.util.List 
           getDigestBuilderList() {
        return getDigestFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntryOrBuilder> 
          getDigestFieldBuilder() {
        if (digestBuilder_ == null) {
          digestBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntry.Builder, POGOProtos.Data.AssetDigestEntryOuterClass.AssetDigestEntryOrBuilder>(
                  digest_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          digest_ = null;
        }
        return digestBuilder_;
      }

      private long timestampMs_ ;
      /**
       * uint64 timestamp_ms = 2;
       */
      public long getTimestampMs() {
        return timestampMs_;
      }
      /**
       * uint64 timestamp_ms = 2;
       */
      public Builder setTimestampMs(long value) {
        
        timestampMs_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 timestamp_ms = 2;
       */
      public Builder clearTimestampMs() {
        
        timestampMs_ = 0L;
        onChanged();
        return this;
      }

      private int result_ = 0;
      /**
       * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
       */
      public int getResultValue() {
        return result_;
      }
      /**
       * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
       */
      public Builder setResultValue(int value) {
        result_ = value;
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
       */
      public POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result getResult() {
        @SuppressWarnings("deprecation")
        POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result result = POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result.valueOf(result_);
        return result == null ? POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result.UNRECOGNIZED : result;
      }
      /**
       * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
       */
      public Builder setResult(POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse.Result value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        result_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Networking.Responses.GetAssetDigestResponse.Result result = 3;
       */
      public Builder clearResult() {
        
        result_ = 0;
        onChanged();
        return this;
      }

      private int pageOffset_ ;
      /**
       * int32 page_offset = 4;
       */
      public int getPageOffset() {
        return pageOffset_;
      }
      /**
       * int32 page_offset = 4;
       */
      public Builder setPageOffset(int value) {
        
        pageOffset_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 page_offset = 4;
       */
      public Builder clearPageOffset() {
        
        pageOffset_ = 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.GetAssetDigestResponse)
    }

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

    public static POGOProtos.Networking.Responses.GetAssetDigestResponseOuterClass.GetAssetDigestResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Networking_Responses_GetAssetDigestResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Networking_Responses_GetAssetDigestResponse_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.Networking.Resp" +
      "onses.GetAssetDigestResponse.Result\022\023\n\013p" +
      "age_offset\030\004 \001(\005\"5\n\006Result\022\t\n\005UNSET\020\000\022\013\n" +
      "\007SUCCESS\020\001\022\010\n\004PAGE\020\002\022\t\n\005RETRY\020\003b\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.Data.AssetDigestEntryOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Networking_Responses_GetAssetDigestResponse_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Networking_Responses_GetAssetDigestResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Networking_Responses_GetAssetDigestResponse_descriptor,
        new java.lang.String[] { "Digest", "TimestampMs", "Result", "PageOffset", });
    POGOProtos.Data.AssetDigestEntryOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy