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

de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: clientserver/protocol/registry/query/query.proto

package de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query;

/**
 * Protobuf type {@code de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply}
 */
public final class QueryReply extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply)
    QueryReplyOrBuilder {
private static final long serialVersionUID = 0L;
  // Use QueryReply.newBuilder() to construct.
  private QueryReply(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private QueryReply() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private QueryReply(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    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: {

            eventId_ = input.readInt64();
            break;
          }
          case 18: {
            de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder subBuilder = null;
            if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
              subBuilder = ((de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_).toBuilder();
            }
            createdOrDeletedOrExpiredOrFuture_ =
                input.readMessage(de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_);
              createdOrDeletedOrExpiredOrFuture_ = subBuilder.buildPartial();
            }
            createdOrDeletedOrExpiredOrFutureCase_ = 2;
            break;
          }
          case 26: {
            de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder subBuilder = null;
            if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
              subBuilder = ((de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_).toBuilder();
            }
            createdOrDeletedOrExpiredOrFuture_ =
                input.readMessage(de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_);
              createdOrDeletedOrExpiredOrFuture_ = subBuilder.buildPartial();
            }
            createdOrDeletedOrExpiredOrFutureCase_ = 3;
            break;
          }
          case 34: {
            de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.Builder subBuilder = null;
            if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
              subBuilder = ((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_).toBuilder();
            }
            createdOrDeletedOrExpiredOrFuture_ =
                input.readMessage(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_);
              createdOrDeletedOrExpiredOrFuture_ = subBuilder.buildPartial();
            }
            createdOrDeletedOrExpiredOrFutureCase_ = 4;
            break;
          }
          case 42: {
            de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.Builder subBuilder = null;
            if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
              subBuilder = ((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_).toBuilder();
            }
            createdOrDeletedOrExpiredOrFuture_ =
                input.readMessage(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_);
              createdOrDeletedOrExpiredOrFuture_ = subBuilder.buildPartial();
            }
            createdOrDeletedOrExpiredOrFutureCase_ = 5;
            break;
          }
          default: {
            if (!parseUnknownField(
                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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.class, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Builder.class);
  }

  public interface ExpiredOrBuilder extends
      // @@protoc_insertion_point(interface_extends:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 oldest_valid_event_id = 1;
     * @return The oldestValidEventId.
     */
    long getOldestValidEventId();
  }
  /**
   * Protobuf type {@code de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired}
   */
  public static final class Expired extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired)
      ExpiredOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Expired.newBuilder() to construct.
    private Expired(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Expired() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Expired(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {

              oldestValidEventId_ = input.readInt64();
              break;
            }
            default: {
              if (!parseUnknownField(
                  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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Expired_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Expired_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.class, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.Builder.class);
    }

    public static final int OLDEST_VALID_EVENT_ID_FIELD_NUMBER = 1;
    private long oldestValidEventId_;
    /**
     * int64 oldest_valid_event_id = 1;
     * @return The oldestValidEventId.
     */
    @java.lang.Override
    public long getOldestValidEventId() {
      return oldestValidEventId_;
    }

    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 (oldestValidEventId_ != 0L) {
        output.writeInt64(1, oldestValidEventId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (oldestValidEventId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, oldestValidEventId_);
      }
      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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired)) {
        return super.equals(obj);
      }
      de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired other = (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) obj;

      if (getOldestValidEventId()
          != other.getOldestValidEventId()) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + OLDEST_VALID_EVENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getOldestValidEventId());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired 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(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired)
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.ExpiredOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Expired_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Expired_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.class, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.Builder.class);
      }

      // Construct using de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.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();
        oldestValidEventId_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Expired_descriptor;
      }

      @java.lang.Override
      public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired getDefaultInstanceForType() {
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance();
      }

      @java.lang.Override
      public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired build() {
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired buildPartial() {
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired result = new de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired(this);
        result.oldestValidEventId_ = oldestValidEventId_;
        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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) {
          return mergeFrom((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired other) {
        if (other == de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance()) return this;
        if (other.getOldestValidEventId() != 0L) {
          setOldestValidEventId(other.getOldestValidEventId());
        }
        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 {
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long oldestValidEventId_ ;
      /**
       * int64 oldest_valid_event_id = 1;
       * @return The oldestValidEventId.
       */
      @java.lang.Override
      public long getOldestValidEventId() {
        return oldestValidEventId_;
      }
      /**
       * int64 oldest_valid_event_id = 1;
       * @param value The oldestValidEventId to set.
       * @return This builder for chaining.
       */
      public Builder setOldestValidEventId(long value) {
        
        oldestValidEventId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 oldest_valid_event_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearOldestValidEventId() {
        
        oldestValidEventId_ = 0L;
        onChanged();
        return this;
      }
      @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:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired)
    }

    // @@protoc_insertion_point(class_scope:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired)
    private static final de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired();
    }

    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Expired parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Expired(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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface FutureOrBuilder extends
      // @@protoc_insertion_point(interface_extends:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 newest_valid_event_id = 1;
     * @return The newestValidEventId.
     */
    long getNewestValidEventId();
  }
  /**
   * Protobuf type {@code de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future}
   */
  public static final class Future extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future)
      FutureOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Future.newBuilder() to construct.
    private Future(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Future() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Future(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {

              newestValidEventId_ = input.readInt64();
              break;
            }
            default: {
              if (!parseUnknownField(
                  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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Future_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Future_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.class, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.Builder.class);
    }

    public static final int NEWEST_VALID_EVENT_ID_FIELD_NUMBER = 1;
    private long newestValidEventId_;
    /**
     * int64 newest_valid_event_id = 1;
     * @return The newestValidEventId.
     */
    @java.lang.Override
    public long getNewestValidEventId() {
      return newestValidEventId_;
    }

    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 (newestValidEventId_ != 0L) {
        output.writeInt64(1, newestValidEventId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (newestValidEventId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, newestValidEventId_);
      }
      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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future)) {
        return super.equals(obj);
      }
      de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future other = (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) obj;

      if (getNewestValidEventId()
          != other.getNewestValidEventId()) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + NEWEST_VALID_EVENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getNewestValidEventId());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future 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(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future)
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.FutureOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Future_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Future_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.class, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.Builder.class);
      }

      // Construct using de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.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();
        newestValidEventId_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_Future_descriptor;
      }

      @java.lang.Override
      public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future getDefaultInstanceForType() {
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.getDefaultInstance();
      }

      @java.lang.Override
      public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future build() {
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future buildPartial() {
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future result = new de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future(this);
        result.newestValidEventId_ = newestValidEventId_;
        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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) {
          return mergeFrom((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future other) {
        if (other == de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.getDefaultInstance()) return this;
        if (other.getNewestValidEventId() != 0L) {
          setNewestValidEventId(other.getNewestValidEventId());
        }
        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 {
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long newestValidEventId_ ;
      /**
       * int64 newest_valid_event_id = 1;
       * @return The newestValidEventId.
       */
      @java.lang.Override
      public long getNewestValidEventId() {
        return newestValidEventId_;
      }
      /**
       * int64 newest_valid_event_id = 1;
       * @param value The newestValidEventId to set.
       * @return This builder for chaining.
       */
      public Builder setNewestValidEventId(long value) {
        
        newestValidEventId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 newest_valid_event_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearNewestValidEventId() {
        
        newestValidEventId_ = 0L;
        onChanged();
        return this;
      }
      @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:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future)
    }

    // @@protoc_insertion_point(class_scope:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future)
    private static final de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future();
    }

    public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Future parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Future(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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private int createdOrDeletedOrExpiredOrFutureCase_ = 0;
  private java.lang.Object createdOrDeletedOrExpiredOrFuture_;
  public enum CreatedOrDeletedOrExpiredOrFutureCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    CREATED(2),
    DELETED(3),
    EXPIRED(4),
    FUTURE(5),
    CREATEDORDELETEDOREXPIREDORFUTURE_NOT_SET(0);
    private final int value;
    private CreatedOrDeletedOrExpiredOrFutureCase(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 CreatedOrDeletedOrExpiredOrFutureCase valueOf(int value) {
      return forNumber(value);
    }

    public static CreatedOrDeletedOrExpiredOrFutureCase forNumber(int value) {
      switch (value) {
        case 2: return CREATED;
        case 3: return DELETED;
        case 4: return EXPIRED;
        case 5: return FUTURE;
        case 0: return CREATEDORDELETEDOREXPIREDORFUTURE_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public CreatedOrDeletedOrExpiredOrFutureCase
  getCreatedOrDeletedOrExpiredOrFutureCase() {
    return CreatedOrDeletedOrExpiredOrFutureCase.forNumber(
        createdOrDeletedOrExpiredOrFutureCase_);
  }

  public static final int EVENT_ID_FIELD_NUMBER = 1;
  private long eventId_;
  /**
   * int64 event_id = 1;
   * @return The eventId.
   */
  @java.lang.Override
  public long getEventId() {
    return eventId_;
  }

  public static final int CREATED_FIELD_NUMBER = 2;
  /**
   * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
   * @return Whether the created field is set.
   */
  @java.lang.Override
  public boolean hasCreated() {
    return createdOrDeletedOrExpiredOrFutureCase_ == 2;
  }
  /**
   * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
   * @return The created.
   */
  @java.lang.Override
  public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor getCreated() {
    if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
       return (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_;
    }
    return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
  }
  /**
   * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
   */
  @java.lang.Override
  public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder getCreatedOrBuilder() {
    if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
       return (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_;
    }
    return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
  }

  public static final int DELETED_FIELD_NUMBER = 3;
  /**
   * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
   * @return Whether the deleted field is set.
   */
  @java.lang.Override
  public boolean hasDeleted() {
    return createdOrDeletedOrExpiredOrFutureCase_ == 3;
  }
  /**
   * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
   * @return The deleted.
   */
  @java.lang.Override
  public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor getDeleted() {
    if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
       return (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_;
    }
    return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
  }
  /**
   * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
   */
  @java.lang.Override
  public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder getDeletedOrBuilder() {
    if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
       return (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_;
    }
    return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
  }

  public static final int EXPIRED_FIELD_NUMBER = 4;
  /**
   * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
   * @return Whether the expired field is set.
   */
  @java.lang.Override
  public boolean hasExpired() {
    return createdOrDeletedOrExpiredOrFutureCase_ == 4;
  }
  /**
   * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
   * @return The expired.
   */
  @java.lang.Override
  public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired getExpired() {
    if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
       return (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_;
    }
    return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance();
  }
  /**
   * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
   */
  @java.lang.Override
  public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.ExpiredOrBuilder getExpiredOrBuilder() {
    if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
       return (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_;
    }
    return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance();
  }

  public static final int FUTURE_FIELD_NUMBER = 5;
  /**
   * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
   * @return Whether the future field is set.
   */
  @java.lang.Override
  public boolean hasFuture() {
    return createdOrDeletedOrExpiredOrFutureCase_ == 5;
  }
  /**
   * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
   * @return The future.
   */
  @java.lang.Override
  public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future getFuture() {
    if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
       return (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_;
    }
    return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.getDefaultInstance();
  }
  /**
   * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
   */
  @java.lang.Override
  public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.FutureOrBuilder getFutureOrBuilder() {
    if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
       return (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_;
    }
    return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.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 (eventId_ != 0L) {
      output.writeInt64(1, eventId_);
    }
    if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
      output.writeMessage(2, (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_);
    }
    if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
      output.writeMessage(3, (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_);
    }
    if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
      output.writeMessage(4, (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_);
    }
    if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
      output.writeMessage(5, (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (eventId_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(1, eventId_);
    }
    if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_);
    }
    if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_);
    }
    if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_);
    }
    if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_);
    }
    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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply)) {
      return super.equals(obj);
    }
    de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply other = (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply) obj;

    if (getEventId()
        != other.getEventId()) return false;
    if (!getCreatedOrDeletedOrExpiredOrFutureCase().equals(other.getCreatedOrDeletedOrExpiredOrFutureCase())) return false;
    switch (createdOrDeletedOrExpiredOrFutureCase_) {
      case 2:
        if (!getCreated()
            .equals(other.getCreated())) return false;
        break;
      case 3:
        if (!getDeleted()
            .equals(other.getDeleted())) return false;
        break;
      case 4:
        if (!getExpired()
            .equals(other.getExpired())) return false;
        break;
      case 5:
        if (!getFuture()
            .equals(other.getFuture())) return false;
        break;
      case 0:
      default:
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + EVENT_ID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getEventId());
    switch (createdOrDeletedOrExpiredOrFutureCase_) {
      case 2:
        hash = (37 * hash) + CREATED_FIELD_NUMBER;
        hash = (53 * hash) + getCreated().hashCode();
        break;
      case 3:
        hash = (37 * hash) + DELETED_FIELD_NUMBER;
        hash = (53 * hash) + getDeleted().hashCode();
        break;
      case 4:
        hash = (37 * hash) + EXPIRED_FIELD_NUMBER;
        hash = (53 * hash) + getExpired().hashCode();
        break;
      case 5:
        hash = (37 * hash) + FUTURE_FIELD_NUMBER;
        hash = (53 * hash) + getFuture().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply 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(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply 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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply)
      de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReplyOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.class, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Builder.class);
    }

    // Construct using de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.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();
      eventId_ = 0L;

      createdOrDeletedOrExpiredOrFutureCase_ = 0;
      createdOrDeletedOrExpiredOrFuture_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.Query.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_registry_query_QueryReply_descriptor;
    }

    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply getDefaultInstanceForType() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.getDefaultInstance();
    }

    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply build() {
      de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply buildPartial() {
      de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply result = new de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply(this);
      result.eventId_ = eventId_;
      if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
        if (createdBuilder_ == null) {
          result.createdOrDeletedOrExpiredOrFuture_ = createdOrDeletedOrExpiredOrFuture_;
        } else {
          result.createdOrDeletedOrExpiredOrFuture_ = createdBuilder_.build();
        }
      }
      if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
        if (deletedBuilder_ == null) {
          result.createdOrDeletedOrExpiredOrFuture_ = createdOrDeletedOrExpiredOrFuture_;
        } else {
          result.createdOrDeletedOrExpiredOrFuture_ = deletedBuilder_.build();
        }
      }
      if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
        if (expiredBuilder_ == null) {
          result.createdOrDeletedOrExpiredOrFuture_ = createdOrDeletedOrExpiredOrFuture_;
        } else {
          result.createdOrDeletedOrExpiredOrFuture_ = expiredBuilder_.build();
        }
      }
      if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
        if (futureBuilder_ == null) {
          result.createdOrDeletedOrExpiredOrFuture_ = createdOrDeletedOrExpiredOrFuture_;
        } else {
          result.createdOrDeletedOrExpiredOrFuture_ = futureBuilder_.build();
        }
      }
      result.createdOrDeletedOrExpiredOrFutureCase_ = createdOrDeletedOrExpiredOrFutureCase_;
      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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply) {
        return mergeFrom((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply other) {
      if (other == de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.getDefaultInstance()) return this;
      if (other.getEventId() != 0L) {
        setEventId(other.getEventId());
      }
      switch (other.getCreatedOrDeletedOrExpiredOrFutureCase()) {
        case CREATED: {
          mergeCreated(other.getCreated());
          break;
        }
        case DELETED: {
          mergeDeleted(other.getDeleted());
          break;
        }
        case EXPIRED: {
          mergeExpired(other.getExpired());
          break;
        }
        case FUTURE: {
          mergeFuture(other.getFuture());
          break;
        }
        case CREATEDORDELETEDOREXPIREDORFUTURE_NOT_SET: {
          break;
        }
      }
      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 {
      de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int createdOrDeletedOrExpiredOrFutureCase_ = 0;
    private java.lang.Object createdOrDeletedOrExpiredOrFuture_;
    public CreatedOrDeletedOrExpiredOrFutureCase
        getCreatedOrDeletedOrExpiredOrFutureCase() {
      return CreatedOrDeletedOrExpiredOrFutureCase.forNumber(
          createdOrDeletedOrExpiredOrFutureCase_);
    }

    public Builder clearCreatedOrDeletedOrExpiredOrFuture() {
      createdOrDeletedOrExpiredOrFutureCase_ = 0;
      createdOrDeletedOrExpiredOrFuture_ = null;
      onChanged();
      return this;
    }


    private long eventId_ ;
    /**
     * int64 event_id = 1;
     * @return The eventId.
     */
    @java.lang.Override
    public long getEventId() {
      return eventId_;
    }
    /**
     * int64 event_id = 1;
     * @param value The eventId to set.
     * @return This builder for chaining.
     */
    public Builder setEventId(long value) {
      
      eventId_ = value;
      onChanged();
      return this;
    }
    /**
     * int64 event_id = 1;
     * @return This builder for chaining.
     */
    public Builder clearEventId() {
      
      eventId_ = 0L;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder> createdBuilder_;
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     * @return Whether the created field is set.
     */
    @java.lang.Override
    public boolean hasCreated() {
      return createdOrDeletedOrExpiredOrFutureCase_ == 2;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     * @return The created.
     */
    @java.lang.Override
    public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor getCreated() {
      if (createdBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
          return (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_;
        }
        return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
          return createdBuilder_.getMessage();
        }
        return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
      }
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     */
    public Builder setCreated(de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor value) {
      if (createdBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        createdOrDeletedOrExpiredOrFuture_ = value;
        onChanged();
      } else {
        createdBuilder_.setMessage(value);
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 2;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     */
    public Builder setCreated(
        de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder builderForValue) {
      if (createdBuilder_ == null) {
        createdOrDeletedOrExpiredOrFuture_ = builderForValue.build();
        onChanged();
      } else {
        createdBuilder_.setMessage(builderForValue.build());
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 2;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     */
    public Builder mergeCreated(de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor value) {
      if (createdBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 2 &&
            createdOrDeletedOrExpiredOrFuture_ != de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance()) {
          createdOrDeletedOrExpiredOrFuture_ = de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.newBuilder((de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_)
              .mergeFrom(value).buildPartial();
        } else {
          createdOrDeletedOrExpiredOrFuture_ = value;
        }
        onChanged();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
          createdBuilder_.mergeFrom(value);
        }
        createdBuilder_.setMessage(value);
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 2;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     */
    public Builder clearCreated() {
      if (createdBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
          createdOrDeletedOrExpiredOrFutureCase_ = 0;
          createdOrDeletedOrExpiredOrFuture_ = null;
          onChanged();
        }
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
          createdOrDeletedOrExpiredOrFutureCase_ = 0;
          createdOrDeletedOrExpiredOrFuture_ = null;
        }
        createdBuilder_.clear();
      }
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     */
    public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder getCreatedBuilder() {
      return getCreatedFieldBuilder().getBuilder();
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     */
    @java.lang.Override
    public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder getCreatedOrBuilder() {
      if ((createdOrDeletedOrExpiredOrFutureCase_ == 2) && (createdBuilder_ != null)) {
        return createdBuilder_.getMessageOrBuilder();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 2) {
          return (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_;
        }
        return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
      }
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor created = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder> 
        getCreatedFieldBuilder() {
      if (createdBuilder_ == null) {
        if (!(createdOrDeletedOrExpiredOrFutureCase_ == 2)) {
          createdOrDeletedOrExpiredOrFuture_ = de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
        }
        createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder>(
                (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_,
                getParentForChildren(),
                isClean());
        createdOrDeletedOrExpiredOrFuture_ = null;
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 2;
      onChanged();;
      return createdBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder> deletedBuilder_;
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     * @return Whether the deleted field is set.
     */
    @java.lang.Override
    public boolean hasDeleted() {
      return createdOrDeletedOrExpiredOrFutureCase_ == 3;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     * @return The deleted.
     */
    @java.lang.Override
    public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor getDeleted() {
      if (deletedBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
          return (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_;
        }
        return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
          return deletedBuilder_.getMessage();
        }
        return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
      }
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     */
    public Builder setDeleted(de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor value) {
      if (deletedBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        createdOrDeletedOrExpiredOrFuture_ = value;
        onChanged();
      } else {
        deletedBuilder_.setMessage(value);
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 3;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     */
    public Builder setDeleted(
        de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder builderForValue) {
      if (deletedBuilder_ == null) {
        createdOrDeletedOrExpiredOrFuture_ = builderForValue.build();
        onChanged();
      } else {
        deletedBuilder_.setMessage(builderForValue.build());
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 3;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     */
    public Builder mergeDeleted(de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor value) {
      if (deletedBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 3 &&
            createdOrDeletedOrExpiredOrFuture_ != de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance()) {
          createdOrDeletedOrExpiredOrFuture_ = de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.newBuilder((de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_)
              .mergeFrom(value).buildPartial();
        } else {
          createdOrDeletedOrExpiredOrFuture_ = value;
        }
        onChanged();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
          deletedBuilder_.mergeFrom(value);
        }
        deletedBuilder_.setMessage(value);
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 3;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     */
    public Builder clearDeleted() {
      if (deletedBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
          createdOrDeletedOrExpiredOrFutureCase_ = 0;
          createdOrDeletedOrExpiredOrFuture_ = null;
          onChanged();
        }
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
          createdOrDeletedOrExpiredOrFutureCase_ = 0;
          createdOrDeletedOrExpiredOrFuture_ = null;
        }
        deletedBuilder_.clear();
      }
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     */
    public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder getDeletedBuilder() {
      return getDeletedFieldBuilder().getBuilder();
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     */
    @java.lang.Override
    public de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder getDeletedOrBuilder() {
      if ((createdOrDeletedOrExpiredOrFutureCase_ == 3) && (deletedBuilder_ != null)) {
        return deletedBuilder_.getMessageOrBuilder();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 3) {
          return (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_;
        }
        return de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
      }
    }
    /**
     * .de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor deleted = 3;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder> 
        getDeletedFieldBuilder() {
      if (deletedBuilder_ == null) {
        if (!(createdOrDeletedOrExpiredOrFutureCase_ == 3)) {
          createdOrDeletedOrExpiredOrFuture_ = de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.getDefaultInstance();
        }
        deletedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor.Builder, de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptorOrBuilder>(
                (de.unistuttgart.isw.sfsc.framework.descriptor.SfscServiceDescriptor) createdOrDeletedOrExpiredOrFuture_,
                getParentForChildren(),
                isClean());
        createdOrDeletedOrExpiredOrFuture_ = null;
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 3;
      onChanged();;
      return deletedBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.Builder, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.ExpiredOrBuilder> expiredBuilder_;
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     * @return Whether the expired field is set.
     */
    @java.lang.Override
    public boolean hasExpired() {
      return createdOrDeletedOrExpiredOrFutureCase_ == 4;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     * @return The expired.
     */
    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired getExpired() {
      if (expiredBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
          return (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_;
        }
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
          return expiredBuilder_.getMessage();
        }
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance();
      }
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     */
    public Builder setExpired(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired value) {
      if (expiredBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        createdOrDeletedOrExpiredOrFuture_ = value;
        onChanged();
      } else {
        expiredBuilder_.setMessage(value);
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 4;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     */
    public Builder setExpired(
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.Builder builderForValue) {
      if (expiredBuilder_ == null) {
        createdOrDeletedOrExpiredOrFuture_ = builderForValue.build();
        onChanged();
      } else {
        expiredBuilder_.setMessage(builderForValue.build());
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 4;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     */
    public Builder mergeExpired(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired value) {
      if (expiredBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 4 &&
            createdOrDeletedOrExpiredOrFuture_ != de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance()) {
          createdOrDeletedOrExpiredOrFuture_ = de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.newBuilder((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_)
              .mergeFrom(value).buildPartial();
        } else {
          createdOrDeletedOrExpiredOrFuture_ = value;
        }
        onChanged();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
          expiredBuilder_.mergeFrom(value);
        }
        expiredBuilder_.setMessage(value);
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 4;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     */
    public Builder clearExpired() {
      if (expiredBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
          createdOrDeletedOrExpiredOrFutureCase_ = 0;
          createdOrDeletedOrExpiredOrFuture_ = null;
          onChanged();
        }
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
          createdOrDeletedOrExpiredOrFutureCase_ = 0;
          createdOrDeletedOrExpiredOrFuture_ = null;
        }
        expiredBuilder_.clear();
      }
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     */
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.Builder getExpiredBuilder() {
      return getExpiredFieldBuilder().getBuilder();
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     */
    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.ExpiredOrBuilder getExpiredOrBuilder() {
      if ((createdOrDeletedOrExpiredOrFutureCase_ == 4) && (expiredBuilder_ != null)) {
        return expiredBuilder_.getMessageOrBuilder();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 4) {
          return (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_;
        }
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance();
      }
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired expired = 4;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.Builder, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.ExpiredOrBuilder> 
        getExpiredFieldBuilder() {
      if (expiredBuilder_ == null) {
        if (!(createdOrDeletedOrExpiredOrFutureCase_ == 4)) {
          createdOrDeletedOrExpiredOrFuture_ = de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.getDefaultInstance();
        }
        expiredBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired.Builder, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.ExpiredOrBuilder>(
                (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Expired) createdOrDeletedOrExpiredOrFuture_,
                getParentForChildren(),
                isClean());
        createdOrDeletedOrExpiredOrFuture_ = null;
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 4;
      onChanged();;
      return expiredBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.Builder, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.FutureOrBuilder> futureBuilder_;
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     * @return Whether the future field is set.
     */
    @java.lang.Override
    public boolean hasFuture() {
      return createdOrDeletedOrExpiredOrFutureCase_ == 5;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     * @return The future.
     */
    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future getFuture() {
      if (futureBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
          return (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_;
        }
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.getDefaultInstance();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
          return futureBuilder_.getMessage();
        }
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.getDefaultInstance();
      }
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     */
    public Builder setFuture(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future value) {
      if (futureBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        createdOrDeletedOrExpiredOrFuture_ = value;
        onChanged();
      } else {
        futureBuilder_.setMessage(value);
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 5;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     */
    public Builder setFuture(
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.Builder builderForValue) {
      if (futureBuilder_ == null) {
        createdOrDeletedOrExpiredOrFuture_ = builderForValue.build();
        onChanged();
      } else {
        futureBuilder_.setMessage(builderForValue.build());
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 5;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     */
    public Builder mergeFuture(de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future value) {
      if (futureBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 5 &&
            createdOrDeletedOrExpiredOrFuture_ != de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.getDefaultInstance()) {
          createdOrDeletedOrExpiredOrFuture_ = de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.newBuilder((de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_)
              .mergeFrom(value).buildPartial();
        } else {
          createdOrDeletedOrExpiredOrFuture_ = value;
        }
        onChanged();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
          futureBuilder_.mergeFrom(value);
        }
        futureBuilder_.setMessage(value);
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 5;
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     */
    public Builder clearFuture() {
      if (futureBuilder_ == null) {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
          createdOrDeletedOrExpiredOrFutureCase_ = 0;
          createdOrDeletedOrExpiredOrFuture_ = null;
          onChanged();
        }
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
          createdOrDeletedOrExpiredOrFutureCase_ = 0;
          createdOrDeletedOrExpiredOrFuture_ = null;
        }
        futureBuilder_.clear();
      }
      return this;
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     */
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.Builder getFutureBuilder() {
      return getFutureFieldBuilder().getBuilder();
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     */
    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.FutureOrBuilder getFutureOrBuilder() {
      if ((createdOrDeletedOrExpiredOrFutureCase_ == 5) && (futureBuilder_ != null)) {
        return futureBuilder_.getMessageOrBuilder();
      } else {
        if (createdOrDeletedOrExpiredOrFutureCase_ == 5) {
          return (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_;
        }
        return de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.getDefaultInstance();
      }
    }
    /**
     * .de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future future = 5;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.Builder, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.FutureOrBuilder> 
        getFutureFieldBuilder() {
      if (futureBuilder_ == null) {
        if (!(createdOrDeletedOrExpiredOrFutureCase_ == 5)) {
          createdOrDeletedOrExpiredOrFuture_ = de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.getDefaultInstance();
        }
        futureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future.Builder, de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.FutureOrBuilder>(
                (de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply.Future) createdOrDeletedOrExpiredOrFuture_,
                getParentForChildren(),
                isClean());
        createdOrDeletedOrExpiredOrFuture_ = null;
      }
      createdOrDeletedOrExpiredOrFutureCase_ = 5;
      onChanged();;
      return futureBuilder_;
    }
    @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:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply)
  }

  // @@protoc_insertion_point(class_scope:de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply)
  private static final de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply();
  }

  public static de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public QueryReply parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new QueryReply(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 de.unistuttgart.isw.sfsc.clientserver.protocol.registry.query.QueryReply getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy