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

POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Logs;

public final class BelugaDailyTransferLogEntryOuterClass {
  private BelugaDailyTransferLogEntryOuterClass() {}
  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 BelugaDailyTransferLogEntryOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Data.Logs.BelugaDailyTransferLogEntry)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .POGOProtos.Data.Logs.BelugaDailyTransferLogEntry.Result result = 1;
     */
    int getResultValue();
    /**
     * .POGOProtos.Data.Logs.BelugaDailyTransferLogEntry.Result result = 1;
     */
    POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Result getResult();

    /**
     * bool includes_weekly_bonus = 2;
     */
    boolean getIncludesWeeklyBonus();

    /**
     * .POGOProtos.Inventory.Loot items_awarded = 3;
     */
    boolean hasItemsAwarded();
    /**
     * .POGOProtos.Inventory.Loot items_awarded = 3;
     */
    POGOProtos.Inventory.LootOuterClass.Loot getItemsAwarded();
    /**
     * .POGOProtos.Inventory.Loot items_awarded = 3;
     */
    POGOProtos.Inventory.LootOuterClass.LootOrBuilder getItemsAwardedOrBuilder();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Logs.BelugaDailyTransferLogEntry}
   */
  public  static final class BelugaDailyTransferLogEntry extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Logs.BelugaDailyTransferLogEntry)
      BelugaDailyTransferLogEntryOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use BelugaDailyTransferLogEntry.newBuilder() to construct.
    private BelugaDailyTransferLogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private BelugaDailyTransferLogEntry() {
      result_ = 0;
      includesWeeklyBonus_ = false;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private BelugaDailyTransferLogEntry(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();

              result_ = rawValue;
              break;
            }
            case 16: {

              includesWeeklyBonus_ = input.readBool();
              break;
            }
            case 26: {
              POGOProtos.Inventory.LootOuterClass.Loot.Builder subBuilder = null;
              if (itemsAwarded_ != null) {
                subBuilder = itemsAwarded_.toBuilder();
              }
              itemsAwarded_ = input.readMessage(POGOProtos.Inventory.LootOuterClass.Loot.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(itemsAwarded_);
                itemsAwarded_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.class, POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Builder.class);
    }

    /**
     * Protobuf enum {@code POGOProtos.Data.Logs.BelugaDailyTransferLogEntry.Result}
     */
    public enum Result
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * UNSET = 0;
       */
      UNSET(0),
      /**
       * SUCCESS = 1;
       */
      SUCCESS(1),
      UNRECOGNIZED(-1),
      ;

      /**
       * UNSET = 0;
       */
      public static final int UNSET_VALUE = 0;
      /**
       * SUCCESS = 1;
       */
      public static final int SUCCESS_VALUE = 1;


      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;
          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.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.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.Data.Logs.BelugaDailyTransferLogEntry.Result)
    }

    public static final int RESULT_FIELD_NUMBER = 1;
    private int result_;
    /**
     * .POGOProtos.Data.Logs.BelugaDailyTransferLogEntry.Result result = 1;
     */
    public int getResultValue() {
      return result_;
    }
    /**
     * .POGOProtos.Data.Logs.BelugaDailyTransferLogEntry.Result result = 1;
     */
    public POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Result getResult() {
      @SuppressWarnings("deprecation")
      POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Result result = POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Result.valueOf(result_);
      return result == null ? POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Result.UNRECOGNIZED : result;
    }

    public static final int INCLUDES_WEEKLY_BONUS_FIELD_NUMBER = 2;
    private boolean includesWeeklyBonus_;
    /**
     * bool includes_weekly_bonus = 2;
     */
    public boolean getIncludesWeeklyBonus() {
      return includesWeeklyBonus_;
    }

    public static final int ITEMS_AWARDED_FIELD_NUMBER = 3;
    private POGOProtos.Inventory.LootOuterClass.Loot itemsAwarded_;
    /**
     * .POGOProtos.Inventory.Loot items_awarded = 3;
     */
    public boolean hasItemsAwarded() {
      return itemsAwarded_ != null;
    }
    /**
     * .POGOProtos.Inventory.Loot items_awarded = 3;
     */
    public POGOProtos.Inventory.LootOuterClass.Loot getItemsAwarded() {
      return itemsAwarded_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : itemsAwarded_;
    }
    /**
     * .POGOProtos.Inventory.Loot items_awarded = 3;
     */
    public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getItemsAwardedOrBuilder() {
      return getItemsAwarded();
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (result_ != POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Result.UNSET.getNumber()) {
        output.writeEnum(1, result_);
      }
      if (includesWeeklyBonus_ != false) {
        output.writeBool(2, includesWeeklyBonus_);
      }
      if (itemsAwarded_ != null) {
        output.writeMessage(3, getItemsAwarded());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (result_ != POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Result.UNSET.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, result_);
      }
      if (includesWeeklyBonus_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, includesWeeklyBonus_);
      }
      if (itemsAwarded_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getItemsAwarded());
      }
      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.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry other = (POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry) obj;

      boolean result = true;
      result = result && result_ == other.result_;
      result = result && (getIncludesWeeklyBonus()
          == other.getIncludesWeeklyBonus());
      result = result && (hasItemsAwarded() == other.hasItemsAwarded());
      if (hasItemsAwarded()) {
        result = result && getItemsAwarded()
            .equals(other.getItemsAwarded());
      }
      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) + RESULT_FIELD_NUMBER;
      hash = (53 * hash) + result_;
      hash = (37 * hash) + INCLUDES_WEEKLY_BONUS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIncludesWeeklyBonus());
      if (hasItemsAwarded()) {
        hash = (37 * hash) + ITEMS_AWARDED_FIELD_NUMBER;
        hash = (53 * hash) + getItemsAwarded().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.class, POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.Builder.class);
      }

      // Construct using POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.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();
        result_ = 0;

        includesWeeklyBonus_ = false;

        if (itemsAwardedBuilder_ == null) {
          itemsAwarded_ = null;
        } else {
          itemsAwarded_ = null;
          itemsAwardedBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry getDefaultInstanceForType() {
        return POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry build() {
        POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry buildPartial() {
        POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry result = new POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry(this);
        result.result_ = result_;
        result.includesWeeklyBonus_ = includesWeeklyBonus_;
        if (itemsAwardedBuilder_ == null) {
          result.itemsAwarded_ = itemsAwarded_;
        } else {
          result.itemsAwarded_ = itemsAwardedBuilder_.build();
        }
        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.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry) {
          return mergeFrom((POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry other) {
        if (other == POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry.getDefaultInstance()) return this;
        if (other.result_ != 0) {
          setResultValue(other.getResultValue());
        }
        if (other.getIncludesWeeklyBonus() != false) {
          setIncludesWeeklyBonus(other.getIncludesWeeklyBonus());
        }
        if (other.hasItemsAwarded()) {
          mergeItemsAwarded(other.getItemsAwarded());
        }
        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.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

      private boolean includesWeeklyBonus_ ;
      /**
       * bool includes_weekly_bonus = 2;
       */
      public boolean getIncludesWeeklyBonus() {
        return includesWeeklyBonus_;
      }
      /**
       * bool includes_weekly_bonus = 2;
       */
      public Builder setIncludesWeeklyBonus(boolean value) {
        
        includesWeeklyBonus_ = value;
        onChanged();
        return this;
      }
      /**
       * bool includes_weekly_bonus = 2;
       */
      public Builder clearIncludesWeeklyBonus() {
        
        includesWeeklyBonus_ = false;
        onChanged();
        return this;
      }

      private POGOProtos.Inventory.LootOuterClass.Loot itemsAwarded_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder> itemsAwardedBuilder_;
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      public boolean hasItemsAwarded() {
        return itemsAwardedBuilder_ != null || itemsAwarded_ != null;
      }
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      public POGOProtos.Inventory.LootOuterClass.Loot getItemsAwarded() {
        if (itemsAwardedBuilder_ == null) {
          return itemsAwarded_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : itemsAwarded_;
        } else {
          return itemsAwardedBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      public Builder setItemsAwarded(POGOProtos.Inventory.LootOuterClass.Loot value) {
        if (itemsAwardedBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          itemsAwarded_ = value;
          onChanged();
        } else {
          itemsAwardedBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      public Builder setItemsAwarded(
          POGOProtos.Inventory.LootOuterClass.Loot.Builder builderForValue) {
        if (itemsAwardedBuilder_ == null) {
          itemsAwarded_ = builderForValue.build();
          onChanged();
        } else {
          itemsAwardedBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      public Builder mergeItemsAwarded(POGOProtos.Inventory.LootOuterClass.Loot value) {
        if (itemsAwardedBuilder_ == null) {
          if (itemsAwarded_ != null) {
            itemsAwarded_ =
              POGOProtos.Inventory.LootOuterClass.Loot.newBuilder(itemsAwarded_).mergeFrom(value).buildPartial();
          } else {
            itemsAwarded_ = value;
          }
          onChanged();
        } else {
          itemsAwardedBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      public Builder clearItemsAwarded() {
        if (itemsAwardedBuilder_ == null) {
          itemsAwarded_ = null;
          onChanged();
        } else {
          itemsAwarded_ = null;
          itemsAwardedBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      public POGOProtos.Inventory.LootOuterClass.Loot.Builder getItemsAwardedBuilder() {
        
        onChanged();
        return getItemsAwardedFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getItemsAwardedOrBuilder() {
        if (itemsAwardedBuilder_ != null) {
          return itemsAwardedBuilder_.getMessageOrBuilder();
        } else {
          return itemsAwarded_ == null ?
              POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : itemsAwarded_;
        }
      }
      /**
       * .POGOProtos.Inventory.Loot items_awarded = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder> 
          getItemsAwardedFieldBuilder() {
        if (itemsAwardedBuilder_ == null) {
          itemsAwardedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder>(
                  getItemsAwarded(),
                  getParentForChildren(),
                  isClean());
          itemsAwarded_ = null;
        }
        return itemsAwardedBuilder_;
      }
      @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.Logs.BelugaDailyTransferLogEntry)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Logs.BelugaDailyTransferLogEntry)
    private static final POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry();
    }

    public static POGOProtos.Data.Logs.BelugaDailyTransferLogEntryOuterClass.BelugaDailyTransferLogEntry getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n6POGOProtos/Data/Logs/BelugaDailyTransf" +
      "erLogEntry.proto\022\024POGOProtos.Data.Logs\032\037" +
      "POGOProtos/Inventory/Loot.proto\"\333\001\n\033Belu" +
      "gaDailyTransferLogEntry\022H\n\006result\030\001 \001(\0162" +
      "8.POGOProtos.Data.Logs.BelugaDailyTransf" +
      "erLogEntry.Result\022\035\n\025includes_weekly_bon" +
      "us\030\002 \001(\010\0221\n\ritems_awarded\030\003 \001(\0132\032.POGOPr" +
      "otos.Inventory.Loot\" \n\006Result\022\t\n\005UNSET\020\000" +
      "\022\013\n\007SUCCESS\020\001b\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          POGOProtos.Inventory.LootOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Logs_BelugaDailyTransferLogEntry_descriptor,
        new java.lang.String[] { "Result", "IncludesWeeklyBonus", "ItemsAwarded", });
    POGOProtos.Inventory.LootOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy