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

games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate Maven / Gradle / Ivy

There is a newer version: 1.1.30
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streams/reservation/definition.proto

package games.mythical.saga.sdk.proto.streams.reservation;

/**
 * Protobuf type {@code saga.rpc.streams.reservation.ReservationUpdate}
 */
public final class ReservationUpdate extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:saga.rpc.streams.reservation.ReservationUpdate)
    ReservationUpdateOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ReservationUpdate.newBuilder() to construct.
  private ReservationUpdate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ReservationUpdate() {
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new ReservationUpdate();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return games.mythical.saga.sdk.proto.streams.reservation.Definition.internal_static_saga_rpc_streams_reservation_ReservationUpdate_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return games.mythical.saga.sdk.proto.streams.reservation.Definition.internal_static_saga_rpc_streams_reservation_ReservationUpdate_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate.class, games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate.Builder.class);
  }

  private int updateCase_ = 0;
  private java.lang.Object update_;
  public enum UpdateCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    ERROR(1),
    RESERVATION_CREATED(2),
    RESERVATION_RELEASED(3),
    RESERVATION_REDEEMED(4),
    UPDATE_NOT_SET(0);
    private final int value;
    private UpdateCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static UpdateCase valueOf(int value) {
      return forNumber(value);
    }

    public static UpdateCase forNumber(int value) {
      switch (value) {
        case 1: return ERROR;
        case 2: return RESERVATION_CREATED;
        case 3: return RESERVATION_RELEASED;
        case 4: return RESERVATION_REDEEMED;
        case 0: return UPDATE_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public UpdateCase
  getUpdateCase() {
    return UpdateCase.forNumber(
        updateCase_);
  }

  public static final int ERROR_FIELD_NUMBER = 1;
  /**
   * .saga.common.ErrorData error = 1;
   * @return Whether the error field is set.
   */
  @java.lang.Override
  public boolean hasError() {
    return updateCase_ == 1;
  }
  /**
   * .saga.common.ErrorData error = 1;
   * @return The error.
   */
  @java.lang.Override
  public games.mythical.saga.sdk.proto.common.ErrorData getError() {
    if (updateCase_ == 1) {
       return (games.mythical.saga.sdk.proto.common.ErrorData) update_;
    }
    return games.mythical.saga.sdk.proto.common.ErrorData.getDefaultInstance();
  }
  /**
   * .saga.common.ErrorData error = 1;
   */
  @java.lang.Override
  public games.mythical.saga.sdk.proto.common.ErrorDataOrBuilder getErrorOrBuilder() {
    if (updateCase_ == 1) {
       return (games.mythical.saga.sdk.proto.common.ErrorData) update_;
    }
    return games.mythical.saga.sdk.proto.common.ErrorData.getDefaultInstance();
  }

  public static final int RESERVATION_CREATED_FIELD_NUMBER = 2;
  /**
   * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
   * @return Whether the reservationCreated field is set.
   */
  @java.lang.Override
  public boolean hasReservationCreated() {
    return updateCase_ == 2;
  }
  /**
   * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
   * @return The reservationCreated.
   */
  @java.lang.Override
  public games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto getReservationCreated() {
    if (updateCase_ == 2) {
       return (games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto) update_;
    }
    return games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.getDefaultInstance();
  }
  /**
   * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
   */
  @java.lang.Override
  public games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProtoOrBuilder getReservationCreatedOrBuilder() {
    if (updateCase_ == 2) {
       return (games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto) update_;
    }
    return games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.getDefaultInstance();
  }

  public static final int RESERVATION_RELEASED_FIELD_NUMBER = 3;
  /**
   * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
   * @return Whether the reservationReleased field is set.
   */
  @java.lang.Override
  public boolean hasReservationReleased() {
    return updateCase_ == 3;
  }
  /**
   * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
   * @return The reservationReleased.
   */
  @java.lang.Override
  public games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto getReservationReleased() {
    if (updateCase_ == 3) {
       return (games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto) update_;
    }
    return games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.getDefaultInstance();
  }
  /**
   * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
   */
  @java.lang.Override
  public games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoOrBuilder getReservationReleasedOrBuilder() {
    if (updateCase_ == 3) {
       return (games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto) update_;
    }
    return games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.getDefaultInstance();
  }

  public static final int RESERVATION_REDEEMED_FIELD_NUMBER = 4;
  /**
   * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
   * @return Whether the reservationRedeemed field is set.
   */
  @java.lang.Override
  public boolean hasReservationRedeemed() {
    return updateCase_ == 4;
  }
  /**
   * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
   * @return The reservationRedeemed.
   */
  @java.lang.Override
  public games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto getReservationRedeemed() {
    if (updateCase_ == 4) {
       return (games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto) update_;
    }
    return games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.getDefaultInstance();
  }
  /**
   * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
   */
  @java.lang.Override
  public games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProtoOrBuilder getReservationRedeemedOrBuilder() {
    if (updateCase_ == 4) {
       return (games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto) update_;
    }
    return games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.getDefaultInstance();
  }

  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 (updateCase_ == 1) {
      output.writeMessage(1, (games.mythical.saga.sdk.proto.common.ErrorData) update_);
    }
    if (updateCase_ == 2) {
      output.writeMessage(2, (games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto) update_);
    }
    if (updateCase_ == 3) {
      output.writeMessage(3, (games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto) update_);
    }
    if (updateCase_ == 4) {
      output.writeMessage(4, (games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto) update_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (updateCase_ == 1) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, (games.mythical.saga.sdk.proto.common.ErrorData) update_);
    }
    if (updateCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto) update_);
    }
    if (updateCase_ == 3) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, (games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto) update_);
    }
    if (updateCase_ == 4) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, (games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto) update_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate)) {
      return super.equals(obj);
    }
    games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate other = (games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate) obj;

    if (!getUpdateCase().equals(other.getUpdateCase())) return false;
    switch (updateCase_) {
      case 1:
        if (!getError()
            .equals(other.getError())) return false;
        break;
      case 2:
        if (!getReservationCreated()
            .equals(other.getReservationCreated())) return false;
        break;
      case 3:
        if (!getReservationReleased()
            .equals(other.getReservationReleased())) return false;
        break;
      case 4:
        if (!getReservationRedeemed()
            .equals(other.getReservationRedeemed())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    switch (updateCase_) {
      case 1:
        hash = (37 * hash) + ERROR_FIELD_NUMBER;
        hash = (53 * hash) + getError().hashCode();
        break;
      case 2:
        hash = (37 * hash) + RESERVATION_CREATED_FIELD_NUMBER;
        hash = (53 * hash) + getReservationCreated().hashCode();
        break;
      case 3:
        hash = (37 * hash) + RESERVATION_RELEASED_FIELD_NUMBER;
        hash = (53 * hash) + getReservationReleased().hashCode();
        break;
      case 4:
        hash = (37 * hash) + RESERVATION_REDEEMED_FIELD_NUMBER;
        hash = (53 * hash) + getReservationRedeemed().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate 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 games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate 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 games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate 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(games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate 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 saga.rpc.streams.reservation.ReservationUpdate}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:saga.rpc.streams.reservation.ReservationUpdate)
      games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdateOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return games.mythical.saga.sdk.proto.streams.reservation.Definition.internal_static_saga_rpc_streams_reservation_ReservationUpdate_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return games.mythical.saga.sdk.proto.streams.reservation.Definition.internal_static_saga_rpc_streams_reservation_ReservationUpdate_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate.class, games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate.Builder.class);
    }

    // Construct using games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (errorBuilder_ != null) {
        errorBuilder_.clear();
      }
      if (reservationCreatedBuilder_ != null) {
        reservationCreatedBuilder_.clear();
      }
      if (reservationReleasedBuilder_ != null) {
        reservationReleasedBuilder_.clear();
      }
      if (reservationRedeemedBuilder_ != null) {
        reservationRedeemedBuilder_.clear();
      }
      updateCase_ = 0;
      update_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return games.mythical.saga.sdk.proto.streams.reservation.Definition.internal_static_saga_rpc_streams_reservation_ReservationUpdate_descriptor;
    }

    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate getDefaultInstanceForType() {
      return games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate.getDefaultInstance();
    }

    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate build() {
      games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate buildPartial() {
      games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate result = new games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate(this);
      if (updateCase_ == 1) {
        if (errorBuilder_ == null) {
          result.update_ = update_;
        } else {
          result.update_ = errorBuilder_.build();
        }
      }
      if (updateCase_ == 2) {
        if (reservationCreatedBuilder_ == null) {
          result.update_ = update_;
        } else {
          result.update_ = reservationCreatedBuilder_.build();
        }
      }
      if (updateCase_ == 3) {
        if (reservationReleasedBuilder_ == null) {
          result.update_ = update_;
        } else {
          result.update_ = reservationReleasedBuilder_.build();
        }
      }
      if (updateCase_ == 4) {
        if (reservationRedeemedBuilder_ == null) {
          result.update_ = update_;
        } else {
          result.update_ = reservationRedeemedBuilder_.build();
        }
      }
      result.updateCase_ = updateCase_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate) {
        return mergeFrom((games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate other) {
      if (other == games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate.getDefaultInstance()) return this;
      switch (other.getUpdateCase()) {
        case ERROR: {
          mergeError(other.getError());
          break;
        }
        case RESERVATION_CREATED: {
          mergeReservationCreated(other.getReservationCreated());
          break;
        }
        case RESERVATION_RELEASED: {
          mergeReservationReleased(other.getReservationReleased());
          break;
        }
        case RESERVATION_REDEEMED: {
          mergeReservationRedeemed(other.getReservationRedeemed());
          break;
        }
        case UPDATE_NOT_SET: {
          break;
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      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 {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              input.readMessage(
                  getErrorFieldBuilder().getBuilder(),
                  extensionRegistry);
              updateCase_ = 1;
              break;
            } // case 10
            case 18: {
              input.readMessage(
                  getReservationCreatedFieldBuilder().getBuilder(),
                  extensionRegistry);
              updateCase_ = 2;
              break;
            } // case 18
            case 26: {
              input.readMessage(
                  getReservationReleasedFieldBuilder().getBuilder(),
                  extensionRegistry);
              updateCase_ = 3;
              break;
            } // case 26
            case 34: {
              input.readMessage(
                  getReservationRedeemedFieldBuilder().getBuilder(),
                  extensionRegistry);
              updateCase_ = 4;
              break;
            } // case 34
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int updateCase_ = 0;
    private java.lang.Object update_;
    public UpdateCase
        getUpdateCase() {
      return UpdateCase.forNumber(
          updateCase_);
    }

    public Builder clearUpdate() {
      updateCase_ = 0;
      update_ = null;
      onChanged();
      return this;
    }


    private com.google.protobuf.SingleFieldBuilderV3<
        games.mythical.saga.sdk.proto.common.ErrorData, games.mythical.saga.sdk.proto.common.ErrorData.Builder, games.mythical.saga.sdk.proto.common.ErrorDataOrBuilder> errorBuilder_;
    /**
     * .saga.common.ErrorData error = 1;
     * @return Whether the error field is set.
     */
    @java.lang.Override
    public boolean hasError() {
      return updateCase_ == 1;
    }
    /**
     * .saga.common.ErrorData error = 1;
     * @return The error.
     */
    @java.lang.Override
    public games.mythical.saga.sdk.proto.common.ErrorData getError() {
      if (errorBuilder_ == null) {
        if (updateCase_ == 1) {
          return (games.mythical.saga.sdk.proto.common.ErrorData) update_;
        }
        return games.mythical.saga.sdk.proto.common.ErrorData.getDefaultInstance();
      } else {
        if (updateCase_ == 1) {
          return errorBuilder_.getMessage();
        }
        return games.mythical.saga.sdk.proto.common.ErrorData.getDefaultInstance();
      }
    }
    /**
     * .saga.common.ErrorData error = 1;
     */
    public Builder setError(games.mythical.saga.sdk.proto.common.ErrorData value) {
      if (errorBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        update_ = value;
        onChanged();
      } else {
        errorBuilder_.setMessage(value);
      }
      updateCase_ = 1;
      return this;
    }
    /**
     * .saga.common.ErrorData error = 1;
     */
    public Builder setError(
        games.mythical.saga.sdk.proto.common.ErrorData.Builder builderForValue) {
      if (errorBuilder_ == null) {
        update_ = builderForValue.build();
        onChanged();
      } else {
        errorBuilder_.setMessage(builderForValue.build());
      }
      updateCase_ = 1;
      return this;
    }
    /**
     * .saga.common.ErrorData error = 1;
     */
    public Builder mergeError(games.mythical.saga.sdk.proto.common.ErrorData value) {
      if (errorBuilder_ == null) {
        if (updateCase_ == 1 &&
            update_ != games.mythical.saga.sdk.proto.common.ErrorData.getDefaultInstance()) {
          update_ = games.mythical.saga.sdk.proto.common.ErrorData.newBuilder((games.mythical.saga.sdk.proto.common.ErrorData) update_)
              .mergeFrom(value).buildPartial();
        } else {
          update_ = value;
        }
        onChanged();
      } else {
        if (updateCase_ == 1) {
          errorBuilder_.mergeFrom(value);
        } else {
          errorBuilder_.setMessage(value);
        }
      }
      updateCase_ = 1;
      return this;
    }
    /**
     * .saga.common.ErrorData error = 1;
     */
    public Builder clearError() {
      if (errorBuilder_ == null) {
        if (updateCase_ == 1) {
          updateCase_ = 0;
          update_ = null;
          onChanged();
        }
      } else {
        if (updateCase_ == 1) {
          updateCase_ = 0;
          update_ = null;
        }
        errorBuilder_.clear();
      }
      return this;
    }
    /**
     * .saga.common.ErrorData error = 1;
     */
    public games.mythical.saga.sdk.proto.common.ErrorData.Builder getErrorBuilder() {
      return getErrorFieldBuilder().getBuilder();
    }
    /**
     * .saga.common.ErrorData error = 1;
     */
    @java.lang.Override
    public games.mythical.saga.sdk.proto.common.ErrorDataOrBuilder getErrorOrBuilder() {
      if ((updateCase_ == 1) && (errorBuilder_ != null)) {
        return errorBuilder_.getMessageOrBuilder();
      } else {
        if (updateCase_ == 1) {
          return (games.mythical.saga.sdk.proto.common.ErrorData) update_;
        }
        return games.mythical.saga.sdk.proto.common.ErrorData.getDefaultInstance();
      }
    }
    /**
     * .saga.common.ErrorData error = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        games.mythical.saga.sdk.proto.common.ErrorData, games.mythical.saga.sdk.proto.common.ErrorData.Builder, games.mythical.saga.sdk.proto.common.ErrorDataOrBuilder> 
        getErrorFieldBuilder() {
      if (errorBuilder_ == null) {
        if (!(updateCase_ == 1)) {
          update_ = games.mythical.saga.sdk.proto.common.ErrorData.getDefaultInstance();
        }
        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            games.mythical.saga.sdk.proto.common.ErrorData, games.mythical.saga.sdk.proto.common.ErrorData.Builder, games.mythical.saga.sdk.proto.common.ErrorDataOrBuilder>(
                (games.mythical.saga.sdk.proto.common.ErrorData) update_,
                getParentForChildren(),
                isClean());
        update_ = null;
      }
      updateCase_ = 1;
      onChanged();;
      return errorBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProtoOrBuilder> reservationCreatedBuilder_;
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     * @return Whether the reservationCreated field is set.
     */
    @java.lang.Override
    public boolean hasReservationCreated() {
      return updateCase_ == 2;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     * @return The reservationCreated.
     */
    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto getReservationCreated() {
      if (reservationCreatedBuilder_ == null) {
        if (updateCase_ == 2) {
          return (games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto) update_;
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.getDefaultInstance();
      } else {
        if (updateCase_ == 2) {
          return reservationCreatedBuilder_.getMessage();
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.getDefaultInstance();
      }
    }
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     */
    public Builder setReservationCreated(games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto value) {
      if (reservationCreatedBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        update_ = value;
        onChanged();
      } else {
        reservationCreatedBuilder_.setMessage(value);
      }
      updateCase_ = 2;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     */
    public Builder setReservationCreated(
        games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.Builder builderForValue) {
      if (reservationCreatedBuilder_ == null) {
        update_ = builderForValue.build();
        onChanged();
      } else {
        reservationCreatedBuilder_.setMessage(builderForValue.build());
      }
      updateCase_ = 2;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     */
    public Builder mergeReservationCreated(games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto value) {
      if (reservationCreatedBuilder_ == null) {
        if (updateCase_ == 2 &&
            update_ != games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.getDefaultInstance()) {
          update_ = games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.newBuilder((games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto) update_)
              .mergeFrom(value).buildPartial();
        } else {
          update_ = value;
        }
        onChanged();
      } else {
        if (updateCase_ == 2) {
          reservationCreatedBuilder_.mergeFrom(value);
        } else {
          reservationCreatedBuilder_.setMessage(value);
        }
      }
      updateCase_ = 2;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     */
    public Builder clearReservationCreated() {
      if (reservationCreatedBuilder_ == null) {
        if (updateCase_ == 2) {
          updateCase_ = 0;
          update_ = null;
          onChanged();
        }
      } else {
        if (updateCase_ == 2) {
          updateCase_ = 0;
          update_ = null;
        }
        reservationCreatedBuilder_.clear();
      }
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     */
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.Builder getReservationCreatedBuilder() {
      return getReservationCreatedFieldBuilder().getBuilder();
    }
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     */
    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProtoOrBuilder getReservationCreatedOrBuilder() {
      if ((updateCase_ == 2) && (reservationCreatedBuilder_ != null)) {
        return reservationCreatedBuilder_.getMessageOrBuilder();
      } else {
        if (updateCase_ == 2) {
          return (games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto) update_;
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.getDefaultInstance();
      }
    }
    /**
     * .saga.rpc.streams.reservation.ReservationCreatedProto reservation_created = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProtoOrBuilder> 
        getReservationCreatedFieldBuilder() {
      if (reservationCreatedBuilder_ == null) {
        if (!(updateCase_ == 2)) {
          update_ = games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.getDefaultInstance();
        }
        reservationCreatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProtoOrBuilder>(
                (games.mythical.saga.sdk.proto.streams.reservation.ReservationCreatedProto) update_,
                getParentForChildren(),
                isClean());
        update_ = null;
      }
      updateCase_ = 2;
      onChanged();;
      return reservationCreatedBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoOrBuilder> reservationReleasedBuilder_;
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     * @return Whether the reservationReleased field is set.
     */
    @java.lang.Override
    public boolean hasReservationReleased() {
      return updateCase_ == 3;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     * @return The reservationReleased.
     */
    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto getReservationReleased() {
      if (reservationReleasedBuilder_ == null) {
        if (updateCase_ == 3) {
          return (games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto) update_;
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.getDefaultInstance();
      } else {
        if (updateCase_ == 3) {
          return reservationReleasedBuilder_.getMessage();
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.getDefaultInstance();
      }
    }
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     */
    public Builder setReservationReleased(games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto value) {
      if (reservationReleasedBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        update_ = value;
        onChanged();
      } else {
        reservationReleasedBuilder_.setMessage(value);
      }
      updateCase_ = 3;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     */
    public Builder setReservationReleased(
        games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.Builder builderForValue) {
      if (reservationReleasedBuilder_ == null) {
        update_ = builderForValue.build();
        onChanged();
      } else {
        reservationReleasedBuilder_.setMessage(builderForValue.build());
      }
      updateCase_ = 3;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     */
    public Builder mergeReservationReleased(games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto value) {
      if (reservationReleasedBuilder_ == null) {
        if (updateCase_ == 3 &&
            update_ != games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.getDefaultInstance()) {
          update_ = games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.newBuilder((games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto) update_)
              .mergeFrom(value).buildPartial();
        } else {
          update_ = value;
        }
        onChanged();
      } else {
        if (updateCase_ == 3) {
          reservationReleasedBuilder_.mergeFrom(value);
        } else {
          reservationReleasedBuilder_.setMessage(value);
        }
      }
      updateCase_ = 3;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     */
    public Builder clearReservationReleased() {
      if (reservationReleasedBuilder_ == null) {
        if (updateCase_ == 3) {
          updateCase_ = 0;
          update_ = null;
          onChanged();
        }
      } else {
        if (updateCase_ == 3) {
          updateCase_ = 0;
          update_ = null;
        }
        reservationReleasedBuilder_.clear();
      }
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     */
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.Builder getReservationReleasedBuilder() {
      return getReservationReleasedFieldBuilder().getBuilder();
    }
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     */
    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoOrBuilder getReservationReleasedOrBuilder() {
      if ((updateCase_ == 3) && (reservationReleasedBuilder_ != null)) {
        return reservationReleasedBuilder_.getMessageOrBuilder();
      } else {
        if (updateCase_ == 3) {
          return (games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto) update_;
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.getDefaultInstance();
      }
    }
    /**
     * .saga.rpc.streams.reservation.ReservationReleasedProto reservation_released = 3;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoOrBuilder> 
        getReservationReleasedFieldBuilder() {
      if (reservationReleasedBuilder_ == null) {
        if (!(updateCase_ == 3)) {
          update_ = games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.getDefaultInstance();
        }
        reservationReleasedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProtoOrBuilder>(
                (games.mythical.saga.sdk.proto.streams.reservation.ReservationReleasedProto) update_,
                getParentForChildren(),
                isClean());
        update_ = null;
      }
      updateCase_ = 3;
      onChanged();;
      return reservationReleasedBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProtoOrBuilder> reservationRedeemedBuilder_;
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     * @return Whether the reservationRedeemed field is set.
     */
    @java.lang.Override
    public boolean hasReservationRedeemed() {
      return updateCase_ == 4;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     * @return The reservationRedeemed.
     */
    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto getReservationRedeemed() {
      if (reservationRedeemedBuilder_ == null) {
        if (updateCase_ == 4) {
          return (games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto) update_;
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.getDefaultInstance();
      } else {
        if (updateCase_ == 4) {
          return reservationRedeemedBuilder_.getMessage();
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.getDefaultInstance();
      }
    }
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     */
    public Builder setReservationRedeemed(games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto value) {
      if (reservationRedeemedBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        update_ = value;
        onChanged();
      } else {
        reservationRedeemedBuilder_.setMessage(value);
      }
      updateCase_ = 4;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     */
    public Builder setReservationRedeemed(
        games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.Builder builderForValue) {
      if (reservationRedeemedBuilder_ == null) {
        update_ = builderForValue.build();
        onChanged();
      } else {
        reservationRedeemedBuilder_.setMessage(builderForValue.build());
      }
      updateCase_ = 4;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     */
    public Builder mergeReservationRedeemed(games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto value) {
      if (reservationRedeemedBuilder_ == null) {
        if (updateCase_ == 4 &&
            update_ != games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.getDefaultInstance()) {
          update_ = games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.newBuilder((games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto) update_)
              .mergeFrom(value).buildPartial();
        } else {
          update_ = value;
        }
        onChanged();
      } else {
        if (updateCase_ == 4) {
          reservationRedeemedBuilder_.mergeFrom(value);
        } else {
          reservationRedeemedBuilder_.setMessage(value);
        }
      }
      updateCase_ = 4;
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     */
    public Builder clearReservationRedeemed() {
      if (reservationRedeemedBuilder_ == null) {
        if (updateCase_ == 4) {
          updateCase_ = 0;
          update_ = null;
          onChanged();
        }
      } else {
        if (updateCase_ == 4) {
          updateCase_ = 0;
          update_ = null;
        }
        reservationRedeemedBuilder_.clear();
      }
      return this;
    }
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     */
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.Builder getReservationRedeemedBuilder() {
      return getReservationRedeemedFieldBuilder().getBuilder();
    }
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     */
    @java.lang.Override
    public games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProtoOrBuilder getReservationRedeemedOrBuilder() {
      if ((updateCase_ == 4) && (reservationRedeemedBuilder_ != null)) {
        return reservationRedeemedBuilder_.getMessageOrBuilder();
      } else {
        if (updateCase_ == 4) {
          return (games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto) update_;
        }
        return games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.getDefaultInstance();
      }
    }
    /**
     * .saga.rpc.streams.reservation.ReservationRedeemedProto reservation_redeemed = 4;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProtoOrBuilder> 
        getReservationRedeemedFieldBuilder() {
      if (reservationRedeemedBuilder_ == null) {
        if (!(updateCase_ == 4)) {
          update_ = games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.getDefaultInstance();
        }
        reservationRedeemedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto, games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto.Builder, games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProtoOrBuilder>(
                (games.mythical.saga.sdk.proto.streams.reservation.ReservationRedeemedProto) update_,
                getParentForChildren(),
                isClean());
        update_ = null;
      }
      updateCase_ = 4;
      onChanged();;
      return reservationRedeemedBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:saga.rpc.streams.reservation.ReservationUpdate)
  }

  // @@protoc_insertion_point(class_scope:saga.rpc.streams.reservation.ReservationUpdate)
  private static final games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate();
  }

  public static games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public ReservationUpdate parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public games.mythical.saga.sdk.proto.streams.reservation.ReservationUpdate getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy