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

io.camunda.zeebe.dynamic.config.protocol.Requests Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: requests.proto

// Protobuf Java Version: 3.25.5
package io.camunda.zeebe.dynamic.config.protocol;

public final class Requests {
  private Requests() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code topology_requests.ErrorCode}
   */
  public enum ErrorCode
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * INVALID_REQUEST = 0;
     */
    INVALID_REQUEST(0),
    /**
     * OPERATION_NOT_ALLOWED = 1;
     */
    OPERATION_NOT_ALLOWED(1),
    /**
     * CONCURRENT_MODIFICATION = 2;
     */
    CONCURRENT_MODIFICATION(2),
    /**
     * INTERNAL_ERROR = 3;
     */
    INTERNAL_ERROR(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * INVALID_REQUEST = 0;
     */
    public static final int INVALID_REQUEST_VALUE = 0;
    /**
     * OPERATION_NOT_ALLOWED = 1;
     */
    public static final int OPERATION_NOT_ALLOWED_VALUE = 1;
    /**
     * CONCURRENT_MODIFICATION = 2;
     */
    public static final int CONCURRENT_MODIFICATION_VALUE = 2;
    /**
     * INTERNAL_ERROR = 3;
     */
    public static final int INTERNAL_ERROR_VALUE = 3;


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

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ErrorCode valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ErrorCode forNumber(int value) {
      switch (value) {
        case 0: return INVALID_REQUEST;
        case 1: return OPERATION_NOT_ALLOWED;
        case 2: return CONCURRENT_MODIFICATION;
        case 3: return INTERNAL_ERROR;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.getDescriptor().getEnumTypes().get(0);
    }

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:topology_requests.ErrorCode)
  }

  public interface AddMembersRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.AddMembersRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated string memberIds = 1;
     * @return A list containing the memberIds.
     */
    java.util.List
        getMemberIdsList();
    /**
     * repeated string memberIds = 1;
     * @return The count of memberIds.
     */
    int getMemberIdsCount();
    /**
     * repeated string memberIds = 1;
     * @param index The index of the element to return.
     * @return The memberIds at the given index.
     */
    java.lang.String getMemberIds(int index);
    /**
     * repeated string memberIds = 1;
     * @param index The index of the value to return.
     * @return The bytes of the memberIds at the given index.
     */
    com.google.protobuf.ByteString
        getMemberIdsBytes(int index);

    /**
     * bool dryRun = 2;
     * @return The dryRun.
     */
    boolean getDryRun();
  }
  /**
   * Protobuf type {@code topology_requests.AddMembersRequest}
   */
  public static final class AddMembersRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:topology_requests.AddMembersRequest)
      AddMembersRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AddMembersRequest.newBuilder() to construct.
    private AddMembersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private AddMembersRequest() {
      memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_AddMembersRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_AddMembersRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest.Builder.class);
    }

    public static final int MEMBERIDS_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList memberIds_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * repeated string memberIds = 1;
     * @return A list containing the memberIds.
     */
    public com.google.protobuf.ProtocolStringList
        getMemberIdsList() {
      return memberIds_;
    }
    /**
     * repeated string memberIds = 1;
     * @return The count of memberIds.
     */
    public int getMemberIdsCount() {
      return memberIds_.size();
    }
    /**
     * repeated string memberIds = 1;
     * @param index The index of the element to return.
     * @return The memberIds at the given index.
     */
    public java.lang.String getMemberIds(int index) {
      return memberIds_.get(index);
    }
    /**
     * repeated string memberIds = 1;
     * @param index The index of the value to return.
     * @return The bytes of the memberIds at the given index.
     */
    public com.google.protobuf.ByteString
        getMemberIdsBytes(int index) {
      return memberIds_.getByteString(index);
    }

    public static final int DRYRUN_FIELD_NUMBER = 2;
    private boolean dryRun_ = false;
    /**
     * bool dryRun = 2;
     * @return The dryRun.
     */
    @java.lang.Override
    public boolean getDryRun() {
      return dryRun_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < memberIds_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberIds_.getRaw(i));
      }
      if (dryRun_ != false) {
        output.writeBool(2, dryRun_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < memberIds_.size(); i++) {
          dataSize += computeStringSizeNoTag(memberIds_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getMemberIdsList().size();
      }
      if (dryRun_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, dryRun_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest)) {
        return super.equals(obj);
      }
      io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest) obj;

      if (!getMemberIdsList()
          .equals(other.getMemberIdsList())) return false;
      if (getDryRun()
          != other.getDryRun()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getMemberIdsCount() > 0) {
        hash = (37 * hash) + MEMBERIDS_FIELD_NUMBER;
        hash = (53 * hash) + getMemberIdsList().hashCode();
      }
      hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDryRun());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest 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 topology_requests.AddMembersRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:topology_requests.AddMembersRequest)
        io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_AddMembersRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_AddMembersRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest.Builder.class);
      }

      // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        memberIds_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        dryRun_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_AddMembersRequest_descriptor;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest getDefaultInstanceForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest.getDefaultInstance();
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest build() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest buildPartial() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          memberIds_.makeImmutable();
          result.memberIds_ = memberIds_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.dryRun_ = dryRun_;
        }
      }

      @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 io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest) {
          return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest other) {
        if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest.getDefaultInstance()) return this;
        if (!other.memberIds_.isEmpty()) {
          if (memberIds_.isEmpty()) {
            memberIds_ = other.memberIds_;
            bitField0_ |= 0x00000001;
          } else {
            ensureMemberIdsIsMutable();
            memberIds_.addAll(other.memberIds_);
          }
          onChanged();
        }
        if (other.getDryRun() != false) {
          setDryRun(other.getDryRun());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureMemberIdsIsMutable();
                memberIds_.add(s);
                break;
              } // case 10
              case 16: {
                dryRun_ = input.readBool();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringArrayList memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureMemberIdsIsMutable() {
        if (!memberIds_.isModifiable()) {
          memberIds_ = new com.google.protobuf.LazyStringArrayList(memberIds_);
        }
        bitField0_ |= 0x00000001;
      }
      /**
       * repeated string memberIds = 1;
       * @return A list containing the memberIds.
       */
      public com.google.protobuf.ProtocolStringList
          getMemberIdsList() {
        memberIds_.makeImmutable();
        return memberIds_;
      }
      /**
       * repeated string memberIds = 1;
       * @return The count of memberIds.
       */
      public int getMemberIdsCount() {
        return memberIds_.size();
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index of the element to return.
       * @return The memberIds at the given index.
       */
      public java.lang.String getMemberIds(int index) {
        return memberIds_.get(index);
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index of the value to return.
       * @return The bytes of the memberIds at the given index.
       */
      public com.google.protobuf.ByteString
          getMemberIdsBytes(int index) {
        return memberIds_.getByteString(index);
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index to set the value at.
       * @param value The memberIds to set.
       * @return This builder for chaining.
       */
      public Builder setMemberIds(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMemberIdsIsMutable();
        memberIds_.set(index, value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param value The memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addMemberIds(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMemberIdsIsMutable();
        memberIds_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param values The memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllMemberIds(
          java.lang.Iterable values) {
        ensureMemberIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, memberIds_);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @return This builder for chaining.
       */
      public Builder clearMemberIds() {
        memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param value The bytes of the memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addMemberIdsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureMemberIdsIsMutable();
        memberIds_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private boolean dryRun_ ;
      /**
       * bool dryRun = 2;
       * @return The dryRun.
       */
      @java.lang.Override
      public boolean getDryRun() {
        return dryRun_;
      }
      /**
       * bool dryRun = 2;
       * @param value The dryRun to set.
       * @return This builder for chaining.
       */
      public Builder setDryRun(boolean value) {

        dryRun_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * bool dryRun = 2;
       * @return This builder for chaining.
       */
      public Builder clearDryRun() {
        bitField0_ = (bitField0_ & ~0x00000002);
        dryRun_ = false;
        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:topology_requests.AddMembersRequest)
    }

    // @@protoc_insertion_point(class_scope:topology_requests.AddMembersRequest)
    private static final io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest();
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public io.camunda.zeebe.dynamic.config.protocol.Requests.AddMembersRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface RemoveMembersRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.RemoveMembersRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated string memberIds = 1;
     * @return A list containing the memberIds.
     */
    java.util.List
        getMemberIdsList();
    /**
     * repeated string memberIds = 1;
     * @return The count of memberIds.
     */
    int getMemberIdsCount();
    /**
     * repeated string memberIds = 1;
     * @param index The index of the element to return.
     * @return The memberIds at the given index.
     */
    java.lang.String getMemberIds(int index);
    /**
     * repeated string memberIds = 1;
     * @param index The index of the value to return.
     * @return The bytes of the memberIds at the given index.
     */
    com.google.protobuf.ByteString
        getMemberIdsBytes(int index);

    /**
     * bool dryRun = 2;
     * @return The dryRun.
     */
    boolean getDryRun();
  }
  /**
   * Protobuf type {@code topology_requests.RemoveMembersRequest}
   */
  public static final class RemoveMembersRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:topology_requests.RemoveMembersRequest)
      RemoveMembersRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RemoveMembersRequest.newBuilder() to construct.
    private RemoveMembersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private RemoveMembersRequest() {
      memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_RemoveMembersRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_RemoveMembersRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest.Builder.class);
    }

    public static final int MEMBERIDS_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList memberIds_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * repeated string memberIds = 1;
     * @return A list containing the memberIds.
     */
    public com.google.protobuf.ProtocolStringList
        getMemberIdsList() {
      return memberIds_;
    }
    /**
     * repeated string memberIds = 1;
     * @return The count of memberIds.
     */
    public int getMemberIdsCount() {
      return memberIds_.size();
    }
    /**
     * repeated string memberIds = 1;
     * @param index The index of the element to return.
     * @return The memberIds at the given index.
     */
    public java.lang.String getMemberIds(int index) {
      return memberIds_.get(index);
    }
    /**
     * repeated string memberIds = 1;
     * @param index The index of the value to return.
     * @return The bytes of the memberIds at the given index.
     */
    public com.google.protobuf.ByteString
        getMemberIdsBytes(int index) {
      return memberIds_.getByteString(index);
    }

    public static final int DRYRUN_FIELD_NUMBER = 2;
    private boolean dryRun_ = false;
    /**
     * bool dryRun = 2;
     * @return The dryRun.
     */
    @java.lang.Override
    public boolean getDryRun() {
      return dryRun_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < memberIds_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberIds_.getRaw(i));
      }
      if (dryRun_ != false) {
        output.writeBool(2, dryRun_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < memberIds_.size(); i++) {
          dataSize += computeStringSizeNoTag(memberIds_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getMemberIdsList().size();
      }
      if (dryRun_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, dryRun_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest)) {
        return super.equals(obj);
      }
      io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest) obj;

      if (!getMemberIdsList()
          .equals(other.getMemberIdsList())) return false;
      if (getDryRun()
          != other.getDryRun()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getMemberIdsCount() > 0) {
        hash = (37 * hash) + MEMBERIDS_FIELD_NUMBER;
        hash = (53 * hash) + getMemberIdsList().hashCode();
      }
      hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDryRun());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest 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 topology_requests.RemoveMembersRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:topology_requests.RemoveMembersRequest)
        io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_RemoveMembersRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_RemoveMembersRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest.Builder.class);
      }

      // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        memberIds_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        dryRun_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_RemoveMembersRequest_descriptor;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest getDefaultInstanceForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest.getDefaultInstance();
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest build() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest buildPartial() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          memberIds_.makeImmutable();
          result.memberIds_ = memberIds_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.dryRun_ = dryRun_;
        }
      }

      @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 io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest) {
          return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest other) {
        if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest.getDefaultInstance()) return this;
        if (!other.memberIds_.isEmpty()) {
          if (memberIds_.isEmpty()) {
            memberIds_ = other.memberIds_;
            bitField0_ |= 0x00000001;
          } else {
            ensureMemberIdsIsMutable();
            memberIds_.addAll(other.memberIds_);
          }
          onChanged();
        }
        if (other.getDryRun() != false) {
          setDryRun(other.getDryRun());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureMemberIdsIsMutable();
                memberIds_.add(s);
                break;
              } // case 10
              case 16: {
                dryRun_ = input.readBool();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringArrayList memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureMemberIdsIsMutable() {
        if (!memberIds_.isModifiable()) {
          memberIds_ = new com.google.protobuf.LazyStringArrayList(memberIds_);
        }
        bitField0_ |= 0x00000001;
      }
      /**
       * repeated string memberIds = 1;
       * @return A list containing the memberIds.
       */
      public com.google.protobuf.ProtocolStringList
          getMemberIdsList() {
        memberIds_.makeImmutable();
        return memberIds_;
      }
      /**
       * repeated string memberIds = 1;
       * @return The count of memberIds.
       */
      public int getMemberIdsCount() {
        return memberIds_.size();
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index of the element to return.
       * @return The memberIds at the given index.
       */
      public java.lang.String getMemberIds(int index) {
        return memberIds_.get(index);
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index of the value to return.
       * @return The bytes of the memberIds at the given index.
       */
      public com.google.protobuf.ByteString
          getMemberIdsBytes(int index) {
        return memberIds_.getByteString(index);
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index to set the value at.
       * @param value The memberIds to set.
       * @return This builder for chaining.
       */
      public Builder setMemberIds(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMemberIdsIsMutable();
        memberIds_.set(index, value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param value The memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addMemberIds(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMemberIdsIsMutable();
        memberIds_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param values The memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllMemberIds(
          java.lang.Iterable values) {
        ensureMemberIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, memberIds_);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @return This builder for chaining.
       */
      public Builder clearMemberIds() {
        memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param value The bytes of the memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addMemberIdsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureMemberIdsIsMutable();
        memberIds_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private boolean dryRun_ ;
      /**
       * bool dryRun = 2;
       * @return The dryRun.
       */
      @java.lang.Override
      public boolean getDryRun() {
        return dryRun_;
      }
      /**
       * bool dryRun = 2;
       * @param value The dryRun to set.
       * @return This builder for chaining.
       */
      public Builder setDryRun(boolean value) {

        dryRun_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * bool dryRun = 2;
       * @return This builder for chaining.
       */
      public Builder clearDryRun() {
        bitField0_ = (bitField0_ & ~0x00000002);
        dryRun_ = false;
        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:topology_requests.RemoveMembersRequest)
    }

    // @@protoc_insertion_point(class_scope:topology_requests.RemoveMembersRequest)
    private static final io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest();
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public io.camunda.zeebe.dynamic.config.protocol.Requests.RemoveMembersRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface JoinPartitionRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.JoinPartitionRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string memberId = 1;
     * @return The memberId.
     */
    java.lang.String getMemberId();
    /**
     * string memberId = 1;
     * @return The bytes for memberId.
     */
    com.google.protobuf.ByteString
        getMemberIdBytes();

    /**
     * int32 partitionId = 2;
     * @return The partitionId.
     */
    int getPartitionId();

    /**
     * int32 priority = 3;
     * @return The priority.
     */
    int getPriority();

    /**
     * bool dryRun = 4;
     * @return The dryRun.
     */
    boolean getDryRun();
  }
  /**
   * Protobuf type {@code topology_requests.JoinPartitionRequest}
   */
  public static final class JoinPartitionRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:topology_requests.JoinPartitionRequest)
      JoinPartitionRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use JoinPartitionRequest.newBuilder() to construct.
    private JoinPartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private JoinPartitionRequest() {
      memberId_ = "";
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_JoinPartitionRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_JoinPartitionRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest.Builder.class);
    }

    public static final int MEMBERID_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object memberId_ = "";
    /**
     * string memberId = 1;
     * @return The memberId.
     */
    @java.lang.Override
    public java.lang.String getMemberId() {
      java.lang.Object ref = memberId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        memberId_ = s;
        return s;
      }
    }
    /**
     * string memberId = 1;
     * @return The bytes for memberId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMemberIdBytes() {
      java.lang.Object ref = memberId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        memberId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PARTITIONID_FIELD_NUMBER = 2;
    private int partitionId_ = 0;
    /**
     * int32 partitionId = 2;
     * @return The partitionId.
     */
    @java.lang.Override
    public int getPartitionId() {
      return partitionId_;
    }

    public static final int PRIORITY_FIELD_NUMBER = 3;
    private int priority_ = 0;
    /**
     * int32 priority = 3;
     * @return The priority.
     */
    @java.lang.Override
    public int getPriority() {
      return priority_;
    }

    public static final int DRYRUN_FIELD_NUMBER = 4;
    private boolean dryRun_ = false;
    /**
     * bool dryRun = 4;
     * @return The dryRun.
     */
    @java.lang.Override
    public boolean getDryRun() {
      return dryRun_;
    }

    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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberId_);
      }
      if (partitionId_ != 0) {
        output.writeInt32(2, partitionId_);
      }
      if (priority_ != 0) {
        output.writeInt32(3, priority_);
      }
      if (dryRun_ != false) {
        output.writeBool(4, dryRun_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, memberId_);
      }
      if (partitionId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, partitionId_);
      }
      if (priority_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, priority_);
      }
      if (dryRun_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(4, dryRun_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest)) {
        return super.equals(obj);
      }
      io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest) obj;

      if (!getMemberId()
          .equals(other.getMemberId())) return false;
      if (getPartitionId()
          != other.getPartitionId()) return false;
      if (getPriority()
          != other.getPriority()) return false;
      if (getDryRun()
          != other.getDryRun()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MEMBERID_FIELD_NUMBER;
      hash = (53 * hash) + getMemberId().hashCode();
      hash = (37 * hash) + PARTITIONID_FIELD_NUMBER;
      hash = (53 * hash) + getPartitionId();
      hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
      hash = (53 * hash) + getPriority();
      hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDryRun());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest 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 topology_requests.JoinPartitionRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:topology_requests.JoinPartitionRequest)
        io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_JoinPartitionRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_JoinPartitionRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest.Builder.class);
      }

      // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        memberId_ = "";
        partitionId_ = 0;
        priority_ = 0;
        dryRun_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_JoinPartitionRequest_descriptor;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest getDefaultInstanceForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest.getDefaultInstance();
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest build() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest buildPartial() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.memberId_ = memberId_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.partitionId_ = partitionId_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.priority_ = priority_;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.dryRun_ = dryRun_;
        }
      }

      @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 io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest) {
          return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest other) {
        if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest.getDefaultInstance()) return this;
        if (!other.getMemberId().isEmpty()) {
          memberId_ = other.memberId_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.getPartitionId() != 0) {
          setPartitionId(other.getPartitionId());
        }
        if (other.getPriority() != 0) {
          setPriority(other.getPriority());
        }
        if (other.getDryRun() != false) {
          setDryRun(other.getDryRun());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                memberId_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 16: {
                partitionId_ = input.readInt32();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 24: {
                priority_ = input.readInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              case 32: {
                dryRun_ = input.readBool();
                bitField0_ |= 0x00000008;
                break;
              } // case 32
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private java.lang.Object memberId_ = "";
      /**
       * string memberId = 1;
       * @return The memberId.
       */
      public java.lang.String getMemberId() {
        java.lang.Object ref = memberId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          memberId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string memberId = 1;
       * @return The bytes for memberId.
       */
      public com.google.protobuf.ByteString
          getMemberIdBytes() {
        java.lang.Object ref = memberId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          memberId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string memberId = 1;
       * @param value The memberId to set.
       * @return This builder for chaining.
       */
      public Builder setMemberId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        memberId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * string memberId = 1;
       * @return This builder for chaining.
       */
      public Builder clearMemberId() {
        memberId_ = getDefaultInstance().getMemberId();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * string memberId = 1;
       * @param value The bytes for memberId to set.
       * @return This builder for chaining.
       */
      public Builder setMemberIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        memberId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private int partitionId_ ;
      /**
       * int32 partitionId = 2;
       * @return The partitionId.
       */
      @java.lang.Override
      public int getPartitionId() {
        return partitionId_;
      }
      /**
       * int32 partitionId = 2;
       * @param value The partitionId to set.
       * @return This builder for chaining.
       */
      public Builder setPartitionId(int value) {

        partitionId_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * int32 partitionId = 2;
       * @return This builder for chaining.
       */
      public Builder clearPartitionId() {
        bitField0_ = (bitField0_ & ~0x00000002);
        partitionId_ = 0;
        onChanged();
        return this;
      }

      private int priority_ ;
      /**
       * int32 priority = 3;
       * @return The priority.
       */
      @java.lang.Override
      public int getPriority() {
        return priority_;
      }
      /**
       * int32 priority = 3;
       * @param value The priority to set.
       * @return This builder for chaining.
       */
      public Builder setPriority(int value) {

        priority_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * int32 priority = 3;
       * @return This builder for chaining.
       */
      public Builder clearPriority() {
        bitField0_ = (bitField0_ & ~0x00000004);
        priority_ = 0;
        onChanged();
        return this;
      }

      private boolean dryRun_ ;
      /**
       * bool dryRun = 4;
       * @return The dryRun.
       */
      @java.lang.Override
      public boolean getDryRun() {
        return dryRun_;
      }
      /**
       * bool dryRun = 4;
       * @param value The dryRun to set.
       * @return This builder for chaining.
       */
      public Builder setDryRun(boolean value) {

        dryRun_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * bool dryRun = 4;
       * @return This builder for chaining.
       */
      public Builder clearDryRun() {
        bitField0_ = (bitField0_ & ~0x00000008);
        dryRun_ = false;
        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:topology_requests.JoinPartitionRequest)
    }

    // @@protoc_insertion_point(class_scope:topology_requests.JoinPartitionRequest)
    private static final io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest();
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public io.camunda.zeebe.dynamic.config.protocol.Requests.JoinPartitionRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface LeavePartitionRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.LeavePartitionRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string memberId = 1;
     * @return The memberId.
     */
    java.lang.String getMemberId();
    /**
     * string memberId = 1;
     * @return The bytes for memberId.
     */
    com.google.protobuf.ByteString
        getMemberIdBytes();

    /**
     * int32 partitionId = 2;
     * @return The partitionId.
     */
    int getPartitionId();

    /**
     * bool dryRun = 3;
     * @return The dryRun.
     */
    boolean getDryRun();
  }
  /**
   * Protobuf type {@code topology_requests.LeavePartitionRequest}
   */
  public static final class LeavePartitionRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:topology_requests.LeavePartitionRequest)
      LeavePartitionRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use LeavePartitionRequest.newBuilder() to construct.
    private LeavePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private LeavePartitionRequest() {
      memberId_ = "";
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_LeavePartitionRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_LeavePartitionRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest.Builder.class);
    }

    public static final int MEMBERID_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object memberId_ = "";
    /**
     * string memberId = 1;
     * @return The memberId.
     */
    @java.lang.Override
    public java.lang.String getMemberId() {
      java.lang.Object ref = memberId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        memberId_ = s;
        return s;
      }
    }
    /**
     * string memberId = 1;
     * @return The bytes for memberId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMemberIdBytes() {
      java.lang.Object ref = memberId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        memberId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PARTITIONID_FIELD_NUMBER = 2;
    private int partitionId_ = 0;
    /**
     * int32 partitionId = 2;
     * @return The partitionId.
     */
    @java.lang.Override
    public int getPartitionId() {
      return partitionId_;
    }

    public static final int DRYRUN_FIELD_NUMBER = 3;
    private boolean dryRun_ = false;
    /**
     * bool dryRun = 3;
     * @return The dryRun.
     */
    @java.lang.Override
    public boolean getDryRun() {
      return dryRun_;
    }

    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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberId_);
      }
      if (partitionId_ != 0) {
        output.writeInt32(2, partitionId_);
      }
      if (dryRun_ != false) {
        output.writeBool(3, dryRun_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, memberId_);
      }
      if (partitionId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, partitionId_);
      }
      if (dryRun_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, dryRun_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest)) {
        return super.equals(obj);
      }
      io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest) obj;

      if (!getMemberId()
          .equals(other.getMemberId())) return false;
      if (getPartitionId()
          != other.getPartitionId()) return false;
      if (getDryRun()
          != other.getDryRun()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MEMBERID_FIELD_NUMBER;
      hash = (53 * hash) + getMemberId().hashCode();
      hash = (37 * hash) + PARTITIONID_FIELD_NUMBER;
      hash = (53 * hash) + getPartitionId();
      hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDryRun());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest 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 topology_requests.LeavePartitionRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:topology_requests.LeavePartitionRequest)
        io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_LeavePartitionRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_LeavePartitionRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest.Builder.class);
      }

      // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        memberId_ = "";
        partitionId_ = 0;
        dryRun_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_LeavePartitionRequest_descriptor;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest getDefaultInstanceForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest.getDefaultInstance();
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest build() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest buildPartial() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.memberId_ = memberId_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.partitionId_ = partitionId_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.dryRun_ = dryRun_;
        }
      }

      @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 io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest) {
          return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest other) {
        if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest.getDefaultInstance()) return this;
        if (!other.getMemberId().isEmpty()) {
          memberId_ = other.memberId_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.getPartitionId() != 0) {
          setPartitionId(other.getPartitionId());
        }
        if (other.getDryRun() != false) {
          setDryRun(other.getDryRun());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                memberId_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 16: {
                partitionId_ = input.readInt32();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 24: {
                dryRun_ = input.readBool();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private java.lang.Object memberId_ = "";
      /**
       * string memberId = 1;
       * @return The memberId.
       */
      public java.lang.String getMemberId() {
        java.lang.Object ref = memberId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          memberId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string memberId = 1;
       * @return The bytes for memberId.
       */
      public com.google.protobuf.ByteString
          getMemberIdBytes() {
        java.lang.Object ref = memberId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          memberId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string memberId = 1;
       * @param value The memberId to set.
       * @return This builder for chaining.
       */
      public Builder setMemberId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        memberId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * string memberId = 1;
       * @return This builder for chaining.
       */
      public Builder clearMemberId() {
        memberId_ = getDefaultInstance().getMemberId();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * string memberId = 1;
       * @param value The bytes for memberId to set.
       * @return This builder for chaining.
       */
      public Builder setMemberIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        memberId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private int partitionId_ ;
      /**
       * int32 partitionId = 2;
       * @return The partitionId.
       */
      @java.lang.Override
      public int getPartitionId() {
        return partitionId_;
      }
      /**
       * int32 partitionId = 2;
       * @param value The partitionId to set.
       * @return This builder for chaining.
       */
      public Builder setPartitionId(int value) {

        partitionId_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * int32 partitionId = 2;
       * @return This builder for chaining.
       */
      public Builder clearPartitionId() {
        bitField0_ = (bitField0_ & ~0x00000002);
        partitionId_ = 0;
        onChanged();
        return this;
      }

      private boolean dryRun_ ;
      /**
       * bool dryRun = 3;
       * @return The dryRun.
       */
      @java.lang.Override
      public boolean getDryRun() {
        return dryRun_;
      }
      /**
       * bool dryRun = 3;
       * @param value The dryRun to set.
       * @return This builder for chaining.
       */
      public Builder setDryRun(boolean value) {

        dryRun_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * bool dryRun = 3;
       * @return This builder for chaining.
       */
      public Builder clearDryRun() {
        bitField0_ = (bitField0_ & ~0x00000004);
        dryRun_ = false;
        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:topology_requests.LeavePartitionRequest)
    }

    // @@protoc_insertion_point(class_scope:topology_requests.LeavePartitionRequest)
    private static final io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest();
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public io.camunda.zeebe.dynamic.config.protocol.Requests.LeavePartitionRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface BrokerScaleRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.BrokerScaleRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated string memberIds = 1;
     * @return A list containing the memberIds.
     */
    java.util.List
        getMemberIdsList();
    /**
     * repeated string memberIds = 1;
     * @return The count of memberIds.
     */
    int getMemberIdsCount();
    /**
     * repeated string memberIds = 1;
     * @param index The index of the element to return.
     * @return The memberIds at the given index.
     */
    java.lang.String getMemberIds(int index);
    /**
     * repeated string memberIds = 1;
     * @param index The index of the value to return.
     * @return The bytes of the memberIds at the given index.
     */
    com.google.protobuf.ByteString
        getMemberIdsBytes(int index);

    /**
     * bool dryRun = 2;
     * @return The dryRun.
     */
    boolean getDryRun();

    /**
     * optional uint32 newReplicationFactor = 3;
     * @return Whether the newReplicationFactor field is set.
     */
    boolean hasNewReplicationFactor();
    /**
     * optional uint32 newReplicationFactor = 3;
     * @return The newReplicationFactor.
     */
    int getNewReplicationFactor();
  }
  /**
   * Protobuf type {@code topology_requests.BrokerScaleRequest}
   */
  public static final class BrokerScaleRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:topology_requests.BrokerScaleRequest)
      BrokerScaleRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use BrokerScaleRequest.newBuilder() to construct.
    private BrokerScaleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private BrokerScaleRequest() {
      memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_BrokerScaleRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_BrokerScaleRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest.Builder.class);
    }

    private int bitField0_;
    public static final int MEMBERIDS_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList memberIds_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * repeated string memberIds = 1;
     * @return A list containing the memberIds.
     */
    public com.google.protobuf.ProtocolStringList
        getMemberIdsList() {
      return memberIds_;
    }
    /**
     * repeated string memberIds = 1;
     * @return The count of memberIds.
     */
    public int getMemberIdsCount() {
      return memberIds_.size();
    }
    /**
     * repeated string memberIds = 1;
     * @param index The index of the element to return.
     * @return The memberIds at the given index.
     */
    public java.lang.String getMemberIds(int index) {
      return memberIds_.get(index);
    }
    /**
     * repeated string memberIds = 1;
     * @param index The index of the value to return.
     * @return The bytes of the memberIds at the given index.
     */
    public com.google.protobuf.ByteString
        getMemberIdsBytes(int index) {
      return memberIds_.getByteString(index);
    }

    public static final int DRYRUN_FIELD_NUMBER = 2;
    private boolean dryRun_ = false;
    /**
     * bool dryRun = 2;
     * @return The dryRun.
     */
    @java.lang.Override
    public boolean getDryRun() {
      return dryRun_;
    }

    public static final int NEWREPLICATIONFACTOR_FIELD_NUMBER = 3;
    private int newReplicationFactor_ = 0;
    /**
     * optional uint32 newReplicationFactor = 3;
     * @return Whether the newReplicationFactor field is set.
     */
    @java.lang.Override
    public boolean hasNewReplicationFactor() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional uint32 newReplicationFactor = 3;
     * @return The newReplicationFactor.
     */
    @java.lang.Override
    public int getNewReplicationFactor() {
      return newReplicationFactor_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < memberIds_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberIds_.getRaw(i));
      }
      if (dryRun_ != false) {
        output.writeBool(2, dryRun_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeUInt32(3, newReplicationFactor_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < memberIds_.size(); i++) {
          dataSize += computeStringSizeNoTag(memberIds_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getMemberIdsList().size();
      }
      if (dryRun_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, dryRun_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, newReplicationFactor_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest)) {
        return super.equals(obj);
      }
      io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest) obj;

      if (!getMemberIdsList()
          .equals(other.getMemberIdsList())) return false;
      if (getDryRun()
          != other.getDryRun()) return false;
      if (hasNewReplicationFactor() != other.hasNewReplicationFactor()) return false;
      if (hasNewReplicationFactor()) {
        if (getNewReplicationFactor()
            != other.getNewReplicationFactor()) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getMemberIdsCount() > 0) {
        hash = (37 * hash) + MEMBERIDS_FIELD_NUMBER;
        hash = (53 * hash) + getMemberIdsList().hashCode();
      }
      hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDryRun());
      if (hasNewReplicationFactor()) {
        hash = (37 * hash) + NEWREPLICATIONFACTOR_FIELD_NUMBER;
        hash = (53 * hash) + getNewReplicationFactor();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest 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 topology_requests.BrokerScaleRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:topology_requests.BrokerScaleRequest)
        io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_BrokerScaleRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_BrokerScaleRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest.Builder.class);
      }

      // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        memberIds_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        dryRun_ = false;
        newReplicationFactor_ = 0;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_BrokerScaleRequest_descriptor;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest getDefaultInstanceForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest.getDefaultInstance();
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest build() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest buildPartial() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          memberIds_.makeImmutable();
          result.memberIds_ = memberIds_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.dryRun_ = dryRun_;
        }
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.newReplicationFactor_ = newReplicationFactor_;
          to_bitField0_ |= 0x00000001;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @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 io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest) {
          return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest other) {
        if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest.getDefaultInstance()) return this;
        if (!other.memberIds_.isEmpty()) {
          if (memberIds_.isEmpty()) {
            memberIds_ = other.memberIds_;
            bitField0_ |= 0x00000001;
          } else {
            ensureMemberIdsIsMutable();
            memberIds_.addAll(other.memberIds_);
          }
          onChanged();
        }
        if (other.getDryRun() != false) {
          setDryRun(other.getDryRun());
        }
        if (other.hasNewReplicationFactor()) {
          setNewReplicationFactor(other.getNewReplicationFactor());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureMemberIdsIsMutable();
                memberIds_.add(s);
                break;
              } // case 10
              case 16: {
                dryRun_ = input.readBool();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 24: {
                newReplicationFactor_ = input.readUInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringArrayList memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureMemberIdsIsMutable() {
        if (!memberIds_.isModifiable()) {
          memberIds_ = new com.google.protobuf.LazyStringArrayList(memberIds_);
        }
        bitField0_ |= 0x00000001;
      }
      /**
       * repeated string memberIds = 1;
       * @return A list containing the memberIds.
       */
      public com.google.protobuf.ProtocolStringList
          getMemberIdsList() {
        memberIds_.makeImmutable();
        return memberIds_;
      }
      /**
       * repeated string memberIds = 1;
       * @return The count of memberIds.
       */
      public int getMemberIdsCount() {
        return memberIds_.size();
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index of the element to return.
       * @return The memberIds at the given index.
       */
      public java.lang.String getMemberIds(int index) {
        return memberIds_.get(index);
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index of the value to return.
       * @return The bytes of the memberIds at the given index.
       */
      public com.google.protobuf.ByteString
          getMemberIdsBytes(int index) {
        return memberIds_.getByteString(index);
      }
      /**
       * repeated string memberIds = 1;
       * @param index The index to set the value at.
       * @param value The memberIds to set.
       * @return This builder for chaining.
       */
      public Builder setMemberIds(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMemberIdsIsMutable();
        memberIds_.set(index, value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param value The memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addMemberIds(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMemberIdsIsMutable();
        memberIds_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param values The memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllMemberIds(
          java.lang.Iterable values) {
        ensureMemberIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, memberIds_);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @return This builder for chaining.
       */
      public Builder clearMemberIds() {
        memberIds_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);;
        onChanged();
        return this;
      }
      /**
       * repeated string memberIds = 1;
       * @param value The bytes of the memberIds to add.
       * @return This builder for chaining.
       */
      public Builder addMemberIdsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureMemberIdsIsMutable();
        memberIds_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private boolean dryRun_ ;
      /**
       * bool dryRun = 2;
       * @return The dryRun.
       */
      @java.lang.Override
      public boolean getDryRun() {
        return dryRun_;
      }
      /**
       * bool dryRun = 2;
       * @param value The dryRun to set.
       * @return This builder for chaining.
       */
      public Builder setDryRun(boolean value) {

        dryRun_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * bool dryRun = 2;
       * @return This builder for chaining.
       */
      public Builder clearDryRun() {
        bitField0_ = (bitField0_ & ~0x00000002);
        dryRun_ = false;
        onChanged();
        return this;
      }

      private int newReplicationFactor_ ;
      /**
       * optional uint32 newReplicationFactor = 3;
       * @return Whether the newReplicationFactor field is set.
       */
      @java.lang.Override
      public boolean hasNewReplicationFactor() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional uint32 newReplicationFactor = 3;
       * @return The newReplicationFactor.
       */
      @java.lang.Override
      public int getNewReplicationFactor() {
        return newReplicationFactor_;
      }
      /**
       * optional uint32 newReplicationFactor = 3;
       * @param value The newReplicationFactor to set.
       * @return This builder for chaining.
       */
      public Builder setNewReplicationFactor(int value) {

        newReplicationFactor_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * optional uint32 newReplicationFactor = 3;
       * @return This builder for chaining.
       */
      public Builder clearNewReplicationFactor() {
        bitField0_ = (bitField0_ & ~0x00000004);
        newReplicationFactor_ = 0;
        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:topology_requests.BrokerScaleRequest)
    }

    // @@protoc_insertion_point(class_scope:topology_requests.BrokerScaleRequest)
    private static final io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest();
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public io.camunda.zeebe.dynamic.config.protocol.Requests.BrokerScaleRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ClusterScaleRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.ClusterScaleRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional uint32 newClusterSize = 1;
     * @return Whether the newClusterSize field is set.
     */
    boolean hasNewClusterSize();
    /**
     * optional uint32 newClusterSize = 1;
     * @return The newClusterSize.
     */
    int getNewClusterSize();

    /**
     * optional uint32 newPartitionCount = 2;
     * @return Whether the newPartitionCount field is set.
     */
    boolean hasNewPartitionCount();
    /**
     * optional uint32 newPartitionCount = 2;
     * @return The newPartitionCount.
     */
    int getNewPartitionCount();

    /**
     * optional uint32 newReplicationFactor = 3;
     * @return Whether the newReplicationFactor field is set.
     */
    boolean hasNewReplicationFactor();
    /**
     * optional uint32 newReplicationFactor = 3;
     * @return The newReplicationFactor.
     */
    int getNewReplicationFactor();

    /**
     * bool dryRun = 4;
     * @return The dryRun.
     */
    boolean getDryRun();
  }
  /**
   * Protobuf type {@code topology_requests.ClusterScaleRequest}
   */
  public static final class ClusterScaleRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:topology_requests.ClusterScaleRequest)
      ClusterScaleRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ClusterScaleRequest.newBuilder() to construct.
    private ClusterScaleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ClusterScaleRequest() {
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterScaleRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterScaleRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest.Builder.class);
    }

    private int bitField0_;
    public static final int NEWCLUSTERSIZE_FIELD_NUMBER = 1;
    private int newClusterSize_ = 0;
    /**
     * optional uint32 newClusterSize = 1;
     * @return Whether the newClusterSize field is set.
     */
    @java.lang.Override
    public boolean hasNewClusterSize() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional uint32 newClusterSize = 1;
     * @return The newClusterSize.
     */
    @java.lang.Override
    public int getNewClusterSize() {
      return newClusterSize_;
    }

    public static final int NEWPARTITIONCOUNT_FIELD_NUMBER = 2;
    private int newPartitionCount_ = 0;
    /**
     * optional uint32 newPartitionCount = 2;
     * @return Whether the newPartitionCount field is set.
     */
    @java.lang.Override
    public boolean hasNewPartitionCount() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional uint32 newPartitionCount = 2;
     * @return The newPartitionCount.
     */
    @java.lang.Override
    public int getNewPartitionCount() {
      return newPartitionCount_;
    }

    public static final int NEWREPLICATIONFACTOR_FIELD_NUMBER = 3;
    private int newReplicationFactor_ = 0;
    /**
     * optional uint32 newReplicationFactor = 3;
     * @return Whether the newReplicationFactor field is set.
     */
    @java.lang.Override
    public boolean hasNewReplicationFactor() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional uint32 newReplicationFactor = 3;
     * @return The newReplicationFactor.
     */
    @java.lang.Override
    public int getNewReplicationFactor() {
      return newReplicationFactor_;
    }

    public static final int DRYRUN_FIELD_NUMBER = 4;
    private boolean dryRun_ = false;
    /**
     * bool dryRun = 4;
     * @return The dryRun.
     */
    @java.lang.Override
    public boolean getDryRun() {
      return dryRun_;
    }

    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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeUInt32(1, newClusterSize_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeUInt32(2, newPartitionCount_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeUInt32(3, newReplicationFactor_);
      }
      if (dryRun_ != false) {
        output.writeBool(4, dryRun_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, newClusterSize_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, newPartitionCount_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, newReplicationFactor_);
      }
      if (dryRun_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(4, dryRun_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest)) {
        return super.equals(obj);
      }
      io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest) obj;

      if (hasNewClusterSize() != other.hasNewClusterSize()) return false;
      if (hasNewClusterSize()) {
        if (getNewClusterSize()
            != other.getNewClusterSize()) return false;
      }
      if (hasNewPartitionCount() != other.hasNewPartitionCount()) return false;
      if (hasNewPartitionCount()) {
        if (getNewPartitionCount()
            != other.getNewPartitionCount()) return false;
      }
      if (hasNewReplicationFactor() != other.hasNewReplicationFactor()) return false;
      if (hasNewReplicationFactor()) {
        if (getNewReplicationFactor()
            != other.getNewReplicationFactor()) return false;
      }
      if (getDryRun()
          != other.getDryRun()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasNewClusterSize()) {
        hash = (37 * hash) + NEWCLUSTERSIZE_FIELD_NUMBER;
        hash = (53 * hash) + getNewClusterSize();
      }
      if (hasNewPartitionCount()) {
        hash = (37 * hash) + NEWPARTITIONCOUNT_FIELD_NUMBER;
        hash = (53 * hash) + getNewPartitionCount();
      }
      if (hasNewReplicationFactor()) {
        hash = (37 * hash) + NEWREPLICATIONFACTOR_FIELD_NUMBER;
        hash = (53 * hash) + getNewReplicationFactor();
      }
      hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDryRun());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest 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 topology_requests.ClusterScaleRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:topology_requests.ClusterScaleRequest)
        io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterScaleRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterScaleRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest.Builder.class);
      }

      // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        newClusterSize_ = 0;
        newPartitionCount_ = 0;
        newReplicationFactor_ = 0;
        dryRun_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterScaleRequest_descriptor;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest getDefaultInstanceForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest.getDefaultInstance();
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest build() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest buildPartial() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.newClusterSize_ = newClusterSize_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.newPartitionCount_ = newPartitionCount_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.newReplicationFactor_ = newReplicationFactor_;
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.dryRun_ = dryRun_;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @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 io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest) {
          return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest other) {
        if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest.getDefaultInstance()) return this;
        if (other.hasNewClusterSize()) {
          setNewClusterSize(other.getNewClusterSize());
        }
        if (other.hasNewPartitionCount()) {
          setNewPartitionCount(other.getNewPartitionCount());
        }
        if (other.hasNewReplicationFactor()) {
          setNewReplicationFactor(other.getNewReplicationFactor());
        }
        if (other.getDryRun() != false) {
          setDryRun(other.getDryRun());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 8: {
                newClusterSize_ = input.readUInt32();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
              case 16: {
                newPartitionCount_ = input.readUInt32();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 24: {
                newReplicationFactor_ = input.readUInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              case 32: {
                dryRun_ = input.readBool();
                bitField0_ |= 0x00000008;
                break;
              } // case 32
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private int newClusterSize_ ;
      /**
       * optional uint32 newClusterSize = 1;
       * @return Whether the newClusterSize field is set.
       */
      @java.lang.Override
      public boolean hasNewClusterSize() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * optional uint32 newClusterSize = 1;
       * @return The newClusterSize.
       */
      @java.lang.Override
      public int getNewClusterSize() {
        return newClusterSize_;
      }
      /**
       * optional uint32 newClusterSize = 1;
       * @param value The newClusterSize to set.
       * @return This builder for chaining.
       */
      public Builder setNewClusterSize(int value) {

        newClusterSize_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * optional uint32 newClusterSize = 1;
       * @return This builder for chaining.
       */
      public Builder clearNewClusterSize() {
        bitField0_ = (bitField0_ & ~0x00000001);
        newClusterSize_ = 0;
        onChanged();
        return this;
      }

      private int newPartitionCount_ ;
      /**
       * optional uint32 newPartitionCount = 2;
       * @return Whether the newPartitionCount field is set.
       */
      @java.lang.Override
      public boolean hasNewPartitionCount() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional uint32 newPartitionCount = 2;
       * @return The newPartitionCount.
       */
      @java.lang.Override
      public int getNewPartitionCount() {
        return newPartitionCount_;
      }
      /**
       * optional uint32 newPartitionCount = 2;
       * @param value The newPartitionCount to set.
       * @return This builder for chaining.
       */
      public Builder setNewPartitionCount(int value) {

        newPartitionCount_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * optional uint32 newPartitionCount = 2;
       * @return This builder for chaining.
       */
      public Builder clearNewPartitionCount() {
        bitField0_ = (bitField0_ & ~0x00000002);
        newPartitionCount_ = 0;
        onChanged();
        return this;
      }

      private int newReplicationFactor_ ;
      /**
       * optional uint32 newReplicationFactor = 3;
       * @return Whether the newReplicationFactor field is set.
       */
      @java.lang.Override
      public boolean hasNewReplicationFactor() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional uint32 newReplicationFactor = 3;
       * @return The newReplicationFactor.
       */
      @java.lang.Override
      public int getNewReplicationFactor() {
        return newReplicationFactor_;
      }
      /**
       * optional uint32 newReplicationFactor = 3;
       * @param value The newReplicationFactor to set.
       * @return This builder for chaining.
       */
      public Builder setNewReplicationFactor(int value) {

        newReplicationFactor_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * optional uint32 newReplicationFactor = 3;
       * @return This builder for chaining.
       */
      public Builder clearNewReplicationFactor() {
        bitField0_ = (bitField0_ & ~0x00000004);
        newReplicationFactor_ = 0;
        onChanged();
        return this;
      }

      private boolean dryRun_ ;
      /**
       * bool dryRun = 4;
       * @return The dryRun.
       */
      @java.lang.Override
      public boolean getDryRun() {
        return dryRun_;
      }
      /**
       * bool dryRun = 4;
       * @param value The dryRun to set.
       * @return This builder for chaining.
       */
      public Builder setDryRun(boolean value) {

        dryRun_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * bool dryRun = 4;
       * @return This builder for chaining.
       */
      public Builder clearDryRun() {
        bitField0_ = (bitField0_ & ~0x00000008);
        dryRun_ = false;
        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:topology_requests.ClusterScaleRequest)
    }

    // @@protoc_insertion_point(class_scope:topology_requests.ClusterScaleRequest)
    private static final io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest();
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterScaleRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ClusterPatchRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.ClusterPatchRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated string membersToAdd = 1;
     * @return A list containing the membersToAdd.
     */
    java.util.List
        getMembersToAddList();
    /**
     * repeated string membersToAdd = 1;
     * @return The count of membersToAdd.
     */
    int getMembersToAddCount();
    /**
     * repeated string membersToAdd = 1;
     * @param index The index of the element to return.
     * @return The membersToAdd at the given index.
     */
    java.lang.String getMembersToAdd(int index);
    /**
     * repeated string membersToAdd = 1;
     * @param index The index of the value to return.
     * @return The bytes of the membersToAdd at the given index.
     */
    com.google.protobuf.ByteString
        getMembersToAddBytes(int index);

    /**
     * repeated string membersToRemove = 2;
     * @return A list containing the membersToRemove.
     */
    java.util.List
        getMembersToRemoveList();
    /**
     * repeated string membersToRemove = 2;
     * @return The count of membersToRemove.
     */
    int getMembersToRemoveCount();
    /**
     * repeated string membersToRemove = 2;
     * @param index The index of the element to return.
     * @return The membersToRemove at the given index.
     */
    java.lang.String getMembersToRemove(int index);
    /**
     * repeated string membersToRemove = 2;
     * @param index The index of the value to return.
     * @return The bytes of the membersToRemove at the given index.
     */
    com.google.protobuf.ByteString
        getMembersToRemoveBytes(int index);

    /**
     * optional uint32 newPartitionCount = 3;
     * @return Whether the newPartitionCount field is set.
     */
    boolean hasNewPartitionCount();
    /**
     * optional uint32 newPartitionCount = 3;
     * @return The newPartitionCount.
     */
    int getNewPartitionCount();

    /**
     * optional uint32 newReplicationFactor = 4;
     * @return Whether the newReplicationFactor field is set.
     */
    boolean hasNewReplicationFactor();
    /**
     * optional uint32 newReplicationFactor = 4;
     * @return The newReplicationFactor.
     */
    int getNewReplicationFactor();

    /**
     * bool dryRun = 5;
     * @return The dryRun.
     */
    boolean getDryRun();
  }
  /**
   * Protobuf type {@code topology_requests.ClusterPatchRequest}
   */
  public static final class ClusterPatchRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:topology_requests.ClusterPatchRequest)
      ClusterPatchRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ClusterPatchRequest.newBuilder() to construct.
    private ClusterPatchRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ClusterPatchRequest() {
      membersToAdd_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      membersToRemove_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterPatchRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterPatchRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest.Builder.class);
    }

    private int bitField0_;
    public static final int MEMBERSTOADD_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList membersToAdd_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * repeated string membersToAdd = 1;
     * @return A list containing the membersToAdd.
     */
    public com.google.protobuf.ProtocolStringList
        getMembersToAddList() {
      return membersToAdd_;
    }
    /**
     * repeated string membersToAdd = 1;
     * @return The count of membersToAdd.
     */
    public int getMembersToAddCount() {
      return membersToAdd_.size();
    }
    /**
     * repeated string membersToAdd = 1;
     * @param index The index of the element to return.
     * @return The membersToAdd at the given index.
     */
    public java.lang.String getMembersToAdd(int index) {
      return membersToAdd_.get(index);
    }
    /**
     * repeated string membersToAdd = 1;
     * @param index The index of the value to return.
     * @return The bytes of the membersToAdd at the given index.
     */
    public com.google.protobuf.ByteString
        getMembersToAddBytes(int index) {
      return membersToAdd_.getByteString(index);
    }

    public static final int MEMBERSTOREMOVE_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList membersToRemove_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * repeated string membersToRemove = 2;
     * @return A list containing the membersToRemove.
     */
    public com.google.protobuf.ProtocolStringList
        getMembersToRemoveList() {
      return membersToRemove_;
    }
    /**
     * repeated string membersToRemove = 2;
     * @return The count of membersToRemove.
     */
    public int getMembersToRemoveCount() {
      return membersToRemove_.size();
    }
    /**
     * repeated string membersToRemove = 2;
     * @param index The index of the element to return.
     * @return The membersToRemove at the given index.
     */
    public java.lang.String getMembersToRemove(int index) {
      return membersToRemove_.get(index);
    }
    /**
     * repeated string membersToRemove = 2;
     * @param index The index of the value to return.
     * @return The bytes of the membersToRemove at the given index.
     */
    public com.google.protobuf.ByteString
        getMembersToRemoveBytes(int index) {
      return membersToRemove_.getByteString(index);
    }

    public static final int NEWPARTITIONCOUNT_FIELD_NUMBER = 3;
    private int newPartitionCount_ = 0;
    /**
     * optional uint32 newPartitionCount = 3;
     * @return Whether the newPartitionCount field is set.
     */
    @java.lang.Override
    public boolean hasNewPartitionCount() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional uint32 newPartitionCount = 3;
     * @return The newPartitionCount.
     */
    @java.lang.Override
    public int getNewPartitionCount() {
      return newPartitionCount_;
    }

    public static final int NEWREPLICATIONFACTOR_FIELD_NUMBER = 4;
    private int newReplicationFactor_ = 0;
    /**
     * optional uint32 newReplicationFactor = 4;
     * @return Whether the newReplicationFactor field is set.
     */
    @java.lang.Override
    public boolean hasNewReplicationFactor() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional uint32 newReplicationFactor = 4;
     * @return The newReplicationFactor.
     */
    @java.lang.Override
    public int getNewReplicationFactor() {
      return newReplicationFactor_;
    }

    public static final int DRYRUN_FIELD_NUMBER = 5;
    private boolean dryRun_ = false;
    /**
     * bool dryRun = 5;
     * @return The dryRun.
     */
    @java.lang.Override
    public boolean getDryRun() {
      return dryRun_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < membersToAdd_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, membersToAdd_.getRaw(i));
      }
      for (int i = 0; i < membersToRemove_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, membersToRemove_.getRaw(i));
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeUInt32(3, newPartitionCount_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeUInt32(4, newReplicationFactor_);
      }
      if (dryRun_ != false) {
        output.writeBool(5, dryRun_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < membersToAdd_.size(); i++) {
          dataSize += computeStringSizeNoTag(membersToAdd_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getMembersToAddList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < membersToRemove_.size(); i++) {
          dataSize += computeStringSizeNoTag(membersToRemove_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getMembersToRemoveList().size();
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, newPartitionCount_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, newReplicationFactor_);
      }
      if (dryRun_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(5, dryRun_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest)) {
        return super.equals(obj);
      }
      io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest) obj;

      if (!getMembersToAddList()
          .equals(other.getMembersToAddList())) return false;
      if (!getMembersToRemoveList()
          .equals(other.getMembersToRemoveList())) return false;
      if (hasNewPartitionCount() != other.hasNewPartitionCount()) return false;
      if (hasNewPartitionCount()) {
        if (getNewPartitionCount()
            != other.getNewPartitionCount()) return false;
      }
      if (hasNewReplicationFactor() != other.hasNewReplicationFactor()) return false;
      if (hasNewReplicationFactor()) {
        if (getNewReplicationFactor()
            != other.getNewReplicationFactor()) return false;
      }
      if (getDryRun()
          != other.getDryRun()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getMembersToAddCount() > 0) {
        hash = (37 * hash) + MEMBERSTOADD_FIELD_NUMBER;
        hash = (53 * hash) + getMembersToAddList().hashCode();
      }
      if (getMembersToRemoveCount() > 0) {
        hash = (37 * hash) + MEMBERSTOREMOVE_FIELD_NUMBER;
        hash = (53 * hash) + getMembersToRemoveList().hashCode();
      }
      if (hasNewPartitionCount()) {
        hash = (37 * hash) + NEWPARTITIONCOUNT_FIELD_NUMBER;
        hash = (53 * hash) + getNewPartitionCount();
      }
      if (hasNewReplicationFactor()) {
        hash = (37 * hash) + NEWREPLICATIONFACTOR_FIELD_NUMBER;
        hash = (53 * hash) + getNewReplicationFactor();
      }
      hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDryRun());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest 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 topology_requests.ClusterPatchRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:topology_requests.ClusterPatchRequest)
        io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterPatchRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterPatchRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest.Builder.class);
      }

      // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        membersToAdd_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        membersToRemove_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        newPartitionCount_ = 0;
        newReplicationFactor_ = 0;
        dryRun_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ClusterPatchRequest_descriptor;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest getDefaultInstanceForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest.getDefaultInstance();
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest build() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest buildPartial() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          membersToAdd_.makeImmutable();
          result.membersToAdd_ = membersToAdd_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          membersToRemove_.makeImmutable();
          result.membersToRemove_ = membersToRemove_;
        }
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.newPartitionCount_ = newPartitionCount_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.newReplicationFactor_ = newReplicationFactor_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.dryRun_ = dryRun_;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @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 io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest) {
          return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest other) {
        if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest.getDefaultInstance()) return this;
        if (!other.membersToAdd_.isEmpty()) {
          if (membersToAdd_.isEmpty()) {
            membersToAdd_ = other.membersToAdd_;
            bitField0_ |= 0x00000001;
          } else {
            ensureMembersToAddIsMutable();
            membersToAdd_.addAll(other.membersToAdd_);
          }
          onChanged();
        }
        if (!other.membersToRemove_.isEmpty()) {
          if (membersToRemove_.isEmpty()) {
            membersToRemove_ = other.membersToRemove_;
            bitField0_ |= 0x00000002;
          } else {
            ensureMembersToRemoveIsMutable();
            membersToRemove_.addAll(other.membersToRemove_);
          }
          onChanged();
        }
        if (other.hasNewPartitionCount()) {
          setNewPartitionCount(other.getNewPartitionCount());
        }
        if (other.hasNewReplicationFactor()) {
          setNewReplicationFactor(other.getNewReplicationFactor());
        }
        if (other.getDryRun() != false) {
          setDryRun(other.getDryRun());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureMembersToAddIsMutable();
                membersToAdd_.add(s);
                break;
              } // case 10
              case 18: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureMembersToRemoveIsMutable();
                membersToRemove_.add(s);
                break;
              } // case 18
              case 24: {
                newPartitionCount_ = input.readUInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              case 32: {
                newReplicationFactor_ = input.readUInt32();
                bitField0_ |= 0x00000008;
                break;
              } // case 32
              case 40: {
                dryRun_ = input.readBool();
                bitField0_ |= 0x00000010;
                break;
              } // case 40
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringArrayList membersToAdd_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureMembersToAddIsMutable() {
        if (!membersToAdd_.isModifiable()) {
          membersToAdd_ = new com.google.protobuf.LazyStringArrayList(membersToAdd_);
        }
        bitField0_ |= 0x00000001;
      }
      /**
       * repeated string membersToAdd = 1;
       * @return A list containing the membersToAdd.
       */
      public com.google.protobuf.ProtocolStringList
          getMembersToAddList() {
        membersToAdd_.makeImmutable();
        return membersToAdd_;
      }
      /**
       * repeated string membersToAdd = 1;
       * @return The count of membersToAdd.
       */
      public int getMembersToAddCount() {
        return membersToAdd_.size();
      }
      /**
       * repeated string membersToAdd = 1;
       * @param index The index of the element to return.
       * @return The membersToAdd at the given index.
       */
      public java.lang.String getMembersToAdd(int index) {
        return membersToAdd_.get(index);
      }
      /**
       * repeated string membersToAdd = 1;
       * @param index The index of the value to return.
       * @return The bytes of the membersToAdd at the given index.
       */
      public com.google.protobuf.ByteString
          getMembersToAddBytes(int index) {
        return membersToAdd_.getByteString(index);
      }
      /**
       * repeated string membersToAdd = 1;
       * @param index The index to set the value at.
       * @param value The membersToAdd to set.
       * @return This builder for chaining.
       */
      public Builder setMembersToAdd(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMembersToAddIsMutable();
        membersToAdd_.set(index, value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToAdd = 1;
       * @param value The membersToAdd to add.
       * @return This builder for chaining.
       */
      public Builder addMembersToAdd(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMembersToAddIsMutable();
        membersToAdd_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToAdd = 1;
       * @param values The membersToAdd to add.
       * @return This builder for chaining.
       */
      public Builder addAllMembersToAdd(
          java.lang.Iterable values) {
        ensureMembersToAddIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, membersToAdd_);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToAdd = 1;
       * @return This builder for chaining.
       */
      public Builder clearMembersToAdd() {
        membersToAdd_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToAdd = 1;
       * @param value The bytes of the membersToAdd to add.
       * @return This builder for chaining.
       */
      public Builder addMembersToAddBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureMembersToAddIsMutable();
        membersToAdd_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringArrayList membersToRemove_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureMembersToRemoveIsMutable() {
        if (!membersToRemove_.isModifiable()) {
          membersToRemove_ = new com.google.protobuf.LazyStringArrayList(membersToRemove_);
        }
        bitField0_ |= 0x00000002;
      }
      /**
       * repeated string membersToRemove = 2;
       * @return A list containing the membersToRemove.
       */
      public com.google.protobuf.ProtocolStringList
          getMembersToRemoveList() {
        membersToRemove_.makeImmutable();
        return membersToRemove_;
      }
      /**
       * repeated string membersToRemove = 2;
       * @return The count of membersToRemove.
       */
      public int getMembersToRemoveCount() {
        return membersToRemove_.size();
      }
      /**
       * repeated string membersToRemove = 2;
       * @param index The index of the element to return.
       * @return The membersToRemove at the given index.
       */
      public java.lang.String getMembersToRemove(int index) {
        return membersToRemove_.get(index);
      }
      /**
       * repeated string membersToRemove = 2;
       * @param index The index of the value to return.
       * @return The bytes of the membersToRemove at the given index.
       */
      public com.google.protobuf.ByteString
          getMembersToRemoveBytes(int index) {
        return membersToRemove_.getByteString(index);
      }
      /**
       * repeated string membersToRemove = 2;
       * @param index The index to set the value at.
       * @param value The membersToRemove to set.
       * @return This builder for chaining.
       */
      public Builder setMembersToRemove(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMembersToRemoveIsMutable();
        membersToRemove_.set(index, value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToRemove = 2;
       * @param value The membersToRemove to add.
       * @return This builder for chaining.
       */
      public Builder addMembersToRemove(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMembersToRemoveIsMutable();
        membersToRemove_.add(value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToRemove = 2;
       * @param values The membersToRemove to add.
       * @return This builder for chaining.
       */
      public Builder addAllMembersToRemove(
          java.lang.Iterable values) {
        ensureMembersToRemoveIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, membersToRemove_);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToRemove = 2;
       * @return This builder for chaining.
       */
      public Builder clearMembersToRemove() {
        membersToRemove_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToRemove = 2;
       * @param value The bytes of the membersToRemove to add.
       * @return This builder for chaining.
       */
      public Builder addMembersToRemoveBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureMembersToRemoveIsMutable();
        membersToRemove_.add(value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private int newPartitionCount_ ;
      /**
       * optional uint32 newPartitionCount = 3;
       * @return Whether the newPartitionCount field is set.
       */
      @java.lang.Override
      public boolean hasNewPartitionCount() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional uint32 newPartitionCount = 3;
       * @return The newPartitionCount.
       */
      @java.lang.Override
      public int getNewPartitionCount() {
        return newPartitionCount_;
      }
      /**
       * optional uint32 newPartitionCount = 3;
       * @param value The newPartitionCount to set.
       * @return This builder for chaining.
       */
      public Builder setNewPartitionCount(int value) {

        newPartitionCount_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * optional uint32 newPartitionCount = 3;
       * @return This builder for chaining.
       */
      public Builder clearNewPartitionCount() {
        bitField0_ = (bitField0_ & ~0x00000004);
        newPartitionCount_ = 0;
        onChanged();
        return this;
      }

      private int newReplicationFactor_ ;
      /**
       * optional uint32 newReplicationFactor = 4;
       * @return Whether the newReplicationFactor field is set.
       */
      @java.lang.Override
      public boolean hasNewReplicationFactor() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * optional uint32 newReplicationFactor = 4;
       * @return The newReplicationFactor.
       */
      @java.lang.Override
      public int getNewReplicationFactor() {
        return newReplicationFactor_;
      }
      /**
       * optional uint32 newReplicationFactor = 4;
       * @param value The newReplicationFactor to set.
       * @return This builder for chaining.
       */
      public Builder setNewReplicationFactor(int value) {

        newReplicationFactor_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * optional uint32 newReplicationFactor = 4;
       * @return This builder for chaining.
       */
      public Builder clearNewReplicationFactor() {
        bitField0_ = (bitField0_ & ~0x00000008);
        newReplicationFactor_ = 0;
        onChanged();
        return this;
      }

      private boolean dryRun_ ;
      /**
       * bool dryRun = 5;
       * @return The dryRun.
       */
      @java.lang.Override
      public boolean getDryRun() {
        return dryRun_;
      }
      /**
       * bool dryRun = 5;
       * @param value The dryRun to set.
       * @return This builder for chaining.
       */
      public Builder setDryRun(boolean value) {

        dryRun_ = value;
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * bool dryRun = 5;
       * @return This builder for chaining.
       */
      public Builder clearDryRun() {
        bitField0_ = (bitField0_ & ~0x00000010);
        dryRun_ = false;
        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:topology_requests.ClusterPatchRequest)
    }

    // @@protoc_insertion_point(class_scope:topology_requests.ClusterPatchRequest)
    private static final io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest();
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public io.camunda.zeebe.dynamic.config.protocol.Requests.ClusterPatchRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ForceRemoveBrokersRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.ForceRemoveBrokersRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated string membersToRemove = 1;
     * @return A list containing the membersToRemove.
     */
    java.util.List
        getMembersToRemoveList();
    /**
     * repeated string membersToRemove = 1;
     * @return The count of membersToRemove.
     */
    int getMembersToRemoveCount();
    /**
     * repeated string membersToRemove = 1;
     * @param index The index of the element to return.
     * @return The membersToRemove at the given index.
     */
    java.lang.String getMembersToRemove(int index);
    /**
     * repeated string membersToRemove = 1;
     * @param index The index of the value to return.
     * @return The bytes of the membersToRemove at the given index.
     */
    com.google.protobuf.ByteString
        getMembersToRemoveBytes(int index);

    /**
     * bool dryRun = 2;
     * @return The dryRun.
     */
    boolean getDryRun();
  }
  /**
   * Protobuf type {@code topology_requests.ForceRemoveBrokersRequest}
   */
  public static final class ForceRemoveBrokersRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:topology_requests.ForceRemoveBrokersRequest)
      ForceRemoveBrokersRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ForceRemoveBrokersRequest.newBuilder() to construct.
    private ForceRemoveBrokersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ForceRemoveBrokersRequest() {
      membersToRemove_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ForceRemoveBrokersRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ForceRemoveBrokersRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest.Builder.class);
    }

    public static final int MEMBERSTOREMOVE_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList membersToRemove_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * repeated string membersToRemove = 1;
     * @return A list containing the membersToRemove.
     */
    public com.google.protobuf.ProtocolStringList
        getMembersToRemoveList() {
      return membersToRemove_;
    }
    /**
     * repeated string membersToRemove = 1;
     * @return The count of membersToRemove.
     */
    public int getMembersToRemoveCount() {
      return membersToRemove_.size();
    }
    /**
     * repeated string membersToRemove = 1;
     * @param index The index of the element to return.
     * @return The membersToRemove at the given index.
     */
    public java.lang.String getMembersToRemove(int index) {
      return membersToRemove_.get(index);
    }
    /**
     * repeated string membersToRemove = 1;
     * @param index The index of the value to return.
     * @return The bytes of the membersToRemove at the given index.
     */
    public com.google.protobuf.ByteString
        getMembersToRemoveBytes(int index) {
      return membersToRemove_.getByteString(index);
    }

    public static final int DRYRUN_FIELD_NUMBER = 2;
    private boolean dryRun_ = false;
    /**
     * bool dryRun = 2;
     * @return The dryRun.
     */
    @java.lang.Override
    public boolean getDryRun() {
      return dryRun_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < membersToRemove_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, membersToRemove_.getRaw(i));
      }
      if (dryRun_ != false) {
        output.writeBool(2, dryRun_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < membersToRemove_.size(); i++) {
          dataSize += computeStringSizeNoTag(membersToRemove_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getMembersToRemoveList().size();
      }
      if (dryRun_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, dryRun_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest)) {
        return super.equals(obj);
      }
      io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest) obj;

      if (!getMembersToRemoveList()
          .equals(other.getMembersToRemoveList())) return false;
      if (getDryRun()
          != other.getDryRun()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getMembersToRemoveCount() > 0) {
        hash = (37 * hash) + MEMBERSTOREMOVE_FIELD_NUMBER;
        hash = (53 * hash) + getMembersToRemoveList().hashCode();
      }
      hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDryRun());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest 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 topology_requests.ForceRemoveBrokersRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:topology_requests.ForceRemoveBrokersRequest)
        io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ForceRemoveBrokersRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ForceRemoveBrokersRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest.Builder.class);
      }

      // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        membersToRemove_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        dryRun_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ForceRemoveBrokersRequest_descriptor;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest getDefaultInstanceForType() {
        return io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest.getDefaultInstance();
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest build() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest buildPartial() {
        io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          membersToRemove_.makeImmutable();
          result.membersToRemove_ = membersToRemove_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.dryRun_ = dryRun_;
        }
      }

      @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 io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest) {
          return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest other) {
        if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest.getDefaultInstance()) return this;
        if (!other.membersToRemove_.isEmpty()) {
          if (membersToRemove_.isEmpty()) {
            membersToRemove_ = other.membersToRemove_;
            bitField0_ |= 0x00000001;
          } else {
            ensureMembersToRemoveIsMutable();
            membersToRemove_.addAll(other.membersToRemove_);
          }
          onChanged();
        }
        if (other.getDryRun() != false) {
          setDryRun(other.getDryRun());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureMembersToRemoveIsMutable();
                membersToRemove_.add(s);
                break;
              } // case 10
              case 16: {
                dryRun_ = input.readBool();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringArrayList membersToRemove_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureMembersToRemoveIsMutable() {
        if (!membersToRemove_.isModifiable()) {
          membersToRemove_ = new com.google.protobuf.LazyStringArrayList(membersToRemove_);
        }
        bitField0_ |= 0x00000001;
      }
      /**
       * repeated string membersToRemove = 1;
       * @return A list containing the membersToRemove.
       */
      public com.google.protobuf.ProtocolStringList
          getMembersToRemoveList() {
        membersToRemove_.makeImmutable();
        return membersToRemove_;
      }
      /**
       * repeated string membersToRemove = 1;
       * @return The count of membersToRemove.
       */
      public int getMembersToRemoveCount() {
        return membersToRemove_.size();
      }
      /**
       * repeated string membersToRemove = 1;
       * @param index The index of the element to return.
       * @return The membersToRemove at the given index.
       */
      public java.lang.String getMembersToRemove(int index) {
        return membersToRemove_.get(index);
      }
      /**
       * repeated string membersToRemove = 1;
       * @param index The index of the value to return.
       * @return The bytes of the membersToRemove at the given index.
       */
      public com.google.protobuf.ByteString
          getMembersToRemoveBytes(int index) {
        return membersToRemove_.getByteString(index);
      }
      /**
       * repeated string membersToRemove = 1;
       * @param index The index to set the value at.
       * @param value The membersToRemove to set.
       * @return This builder for chaining.
       */
      public Builder setMembersToRemove(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMembersToRemoveIsMutable();
        membersToRemove_.set(index, value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToRemove = 1;
       * @param value The membersToRemove to add.
       * @return This builder for chaining.
       */
      public Builder addMembersToRemove(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMembersToRemoveIsMutable();
        membersToRemove_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToRemove = 1;
       * @param values The membersToRemove to add.
       * @return This builder for chaining.
       */
      public Builder addAllMembersToRemove(
          java.lang.Iterable values) {
        ensureMembersToRemoveIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, membersToRemove_);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToRemove = 1;
       * @return This builder for chaining.
       */
      public Builder clearMembersToRemove() {
        membersToRemove_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);;
        onChanged();
        return this;
      }
      /**
       * repeated string membersToRemove = 1;
       * @param value The bytes of the membersToRemove to add.
       * @return This builder for chaining.
       */
      public Builder addMembersToRemoveBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureMembersToRemoveIsMutable();
        membersToRemove_.add(value);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private boolean dryRun_ ;
      /**
       * bool dryRun = 2;
       * @return The dryRun.
       */
      @java.lang.Override
      public boolean getDryRun() {
        return dryRun_;
      }
      /**
       * bool dryRun = 2;
       * @param value The dryRun to set.
       * @return This builder for chaining.
       */
      public Builder setDryRun(boolean value) {

        dryRun_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * bool dryRun = 2;
       * @return This builder for chaining.
       */
      public Builder clearDryRun() {
        bitField0_ = (bitField0_ & ~0x00000002);
        dryRun_ = false;
        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:topology_requests.ForceRemoveBrokersRequest)
    }

    // @@protoc_insertion_point(class_scope:topology_requests.ForceRemoveBrokersRequest)
    private static final io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest();
    }

    public static io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public io.camunda.zeebe.dynamic.config.protocol.Requests.ForceRemoveBrokersRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ReassignAllPartitionsRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:topology_requests.ReassignAllPartitionsRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * The ids of the brokers to which all partitions should be re-distributed
     * 
* * repeated string memberIds = 1; * @return A list containing the memberIds. */ java.util.List getMemberIdsList(); /** *
     * The ids of the brokers to which all partitions should be re-distributed
     * 
* * repeated string memberIds = 1; * @return The count of memberIds. */ int getMemberIdsCount(); /** *
     * The ids of the brokers to which all partitions should be re-distributed
     * 
* * repeated string memberIds = 1; * @param index The index of the element to return. * @return The memberIds at the given index. */ java.lang.String getMemberIds(int index); /** *
     * The ids of the brokers to which all partitions should be re-distributed
     * 
* * repeated string memberIds = 1; * @param index The index of the value to return. * @return The bytes of the memberIds at the given index. */ com.google.protobuf.ByteString getMemberIdsBytes(int index); /** * bool dryRun = 2; * @return The dryRun. */ boolean getDryRun(); } /** * Protobuf type {@code topology_requests.ReassignAllPartitionsRequest} */ public static final class ReassignAllPartitionsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:topology_requests.ReassignAllPartitionsRequest) ReassignAllPartitionsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ReassignAllPartitionsRequest.newBuilder() to construct. private ReassignAllPartitionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReassignAllPartitionsRequest() { memberIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReassignAllPartitionsRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ReassignAllPartitionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ReassignAllPartitionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest.Builder.class); } public static final int MEMBERIDS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList memberIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * The ids of the brokers to which all partitions should be re-distributed
     * 
* * repeated string memberIds = 1; * @return A list containing the memberIds. */ public com.google.protobuf.ProtocolStringList getMemberIdsList() { return memberIds_; } /** *
     * The ids of the brokers to which all partitions should be re-distributed
     * 
* * repeated string memberIds = 1; * @return The count of memberIds. */ public int getMemberIdsCount() { return memberIds_.size(); } /** *
     * The ids of the brokers to which all partitions should be re-distributed
     * 
* * repeated string memberIds = 1; * @param index The index of the element to return. * @return The memberIds at the given index. */ public java.lang.String getMemberIds(int index) { return memberIds_.get(index); } /** *
     * The ids of the brokers to which all partitions should be re-distributed
     * 
* * repeated string memberIds = 1; * @param index The index of the value to return. * @return The bytes of the memberIds at the given index. */ public com.google.protobuf.ByteString getMemberIdsBytes(int index) { return memberIds_.getByteString(index); } public static final int DRYRUN_FIELD_NUMBER = 2; private boolean dryRun_ = false; /** * bool dryRun = 2; * @return The dryRun. */ @java.lang.Override public boolean getDryRun() { return dryRun_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < memberIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberIds_.getRaw(i)); } if (dryRun_ != false) { output.writeBool(2, dryRun_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < memberIds_.size(); i++) { dataSize += computeStringSizeNoTag(memberIds_.getRaw(i)); } size += dataSize; size += 1 * getMemberIdsList().size(); } if (dryRun_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, dryRun_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest)) { return super.equals(obj); } io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest) obj; if (!getMemberIdsList() .equals(other.getMemberIdsList())) return false; if (getDryRun() != other.getDryRun()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getMemberIdsCount() > 0) { hash = (37 * hash) + MEMBERIDS_FIELD_NUMBER; hash = (53 * hash) + getMemberIdsList().hashCode(); } hash = (37 * hash) + DRYRUN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDryRun()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest 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 topology_requests.ReassignAllPartitionsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:topology_requests.ReassignAllPartitionsRequest) io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ReassignAllPartitionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ReassignAllPartitionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest.Builder.class); } // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; memberIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); dryRun_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ReassignAllPartitionsRequest_descriptor; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest getDefaultInstanceForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest.getDefaultInstance(); } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest build() { io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest buildPartial() { io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { memberIds_.makeImmutable(); result.memberIds_ = memberIds_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dryRun_ = dryRun_; } } @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 io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest) { return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest other) { if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest.getDefaultInstance()) return this; if (!other.memberIds_.isEmpty()) { if (memberIds_.isEmpty()) { memberIds_ = other.memberIds_; bitField0_ |= 0x00000001; } else { ensureMemberIdsIsMutable(); memberIds_.addAll(other.memberIds_); } onChanged(); } if (other.getDryRun() != false) { setDryRun(other.getDryRun()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); ensureMemberIdsIsMutable(); memberIds_.add(s); break; } // case 10 case 16: { dryRun_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.LazyStringArrayList memberIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureMemberIdsIsMutable() { if (!memberIds_.isModifiable()) { memberIds_ = new com.google.protobuf.LazyStringArrayList(memberIds_); } bitField0_ |= 0x00000001; } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @return A list containing the memberIds. */ public com.google.protobuf.ProtocolStringList getMemberIdsList() { memberIds_.makeImmutable(); return memberIds_; } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @return The count of memberIds. */ public int getMemberIdsCount() { return memberIds_.size(); } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @param index The index of the element to return. * @return The memberIds at the given index. */ public java.lang.String getMemberIds(int index) { return memberIds_.get(index); } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @param index The index of the value to return. * @return The bytes of the memberIds at the given index. */ public com.google.protobuf.ByteString getMemberIdsBytes(int index) { return memberIds_.getByteString(index); } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @param index The index to set the value at. * @param value The memberIds to set. * @return This builder for chaining. */ public Builder setMemberIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMemberIdsIsMutable(); memberIds_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @param value The memberIds to add. * @return This builder for chaining. */ public Builder addMemberIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMemberIdsIsMutable(); memberIds_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @param values The memberIds to add. * @return This builder for chaining. */ public Builder addAllMemberIds( java.lang.Iterable values) { ensureMemberIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, memberIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @return This builder for chaining. */ public Builder clearMemberIds() { memberIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** *
       * The ids of the brokers to which all partitions should be re-distributed
       * 
* * repeated string memberIds = 1; * @param value The bytes of the memberIds to add. * @return This builder for chaining. */ public Builder addMemberIdsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureMemberIdsIsMutable(); memberIds_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } private boolean dryRun_ ; /** * bool dryRun = 2; * @return The dryRun. */ @java.lang.Override public boolean getDryRun() { return dryRun_; } /** * bool dryRun = 2; * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { dryRun_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * bool dryRun = 2; * @return This builder for chaining. */ public Builder clearDryRun() { bitField0_ = (bitField0_ & ~0x00000002); dryRun_ = false; 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:topology_requests.ReassignAllPartitionsRequest) } // @@protoc_insertion_point(class_scope:topology_requests.ReassignAllPartitionsRequest) private static final io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest(); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReassignAllPartitionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ReassignAllPartitionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExporterDisableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:topology_requests.ExporterDisableRequest) com.google.protobuf.MessageOrBuilder { /** * string exporterId = 1; * @return The exporterId. */ java.lang.String getExporterId(); /** * string exporterId = 1; * @return The bytes for exporterId. */ com.google.protobuf.ByteString getExporterIdBytes(); /** * bool dryRun = 2; * @return The dryRun. */ boolean getDryRun(); } /** * Protobuf type {@code topology_requests.ExporterDisableRequest} */ public static final class ExporterDisableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:topology_requests.ExporterDisableRequest) ExporterDisableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExporterDisableRequest.newBuilder() to construct. private ExporterDisableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExporterDisableRequest() { exporterId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExporterDisableRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterDisableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterDisableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest.Builder.class); } public static final int EXPORTERID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object exporterId_ = ""; /** * string exporterId = 1; * @return The exporterId. */ @java.lang.Override public java.lang.String getExporterId() { java.lang.Object ref = exporterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); exporterId_ = s; return s; } } /** * string exporterId = 1; * @return The bytes for exporterId. */ @java.lang.Override public com.google.protobuf.ByteString getExporterIdBytes() { java.lang.Object ref = exporterId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exporterId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DRYRUN_FIELD_NUMBER = 2; private boolean dryRun_ = false; /** * bool dryRun = 2; * @return The dryRun. */ @java.lang.Override public boolean getDryRun() { return dryRun_; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exporterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, exporterId_); } if (dryRun_ != false) { output.writeBool(2, dryRun_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exporterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, exporterId_); } if (dryRun_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, dryRun_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest)) { return super.equals(obj); } io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest) obj; if (!getExporterId() .equals(other.getExporterId())) return false; if (getDryRun() != other.getDryRun()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPORTERID_FIELD_NUMBER; hash = (53 * hash) + getExporterId().hashCode(); hash = (37 * hash) + DRYRUN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDryRun()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest 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 topology_requests.ExporterDisableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:topology_requests.ExporterDisableRequest) io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterDisableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterDisableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest.Builder.class); } // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; exporterId_ = ""; dryRun_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterDisableRequest_descriptor; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest getDefaultInstanceForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest.getDefaultInstance(); } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest build() { io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest buildPartial() { io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.exporterId_ = exporterId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dryRun_ = dryRun_; } } @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 io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest) { return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest other) { if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest.getDefaultInstance()) return this; if (!other.getExporterId().isEmpty()) { exporterId_ = other.exporterId_; bitField0_ |= 0x00000001; onChanged(); } if (other.getDryRun() != false) { setDryRun(other.getDryRun()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { exporterId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { dryRun_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object exporterId_ = ""; /** * string exporterId = 1; * @return The exporterId. */ public java.lang.String getExporterId() { java.lang.Object ref = exporterId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); exporterId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string exporterId = 1; * @return The bytes for exporterId. */ public com.google.protobuf.ByteString getExporterIdBytes() { java.lang.Object ref = exporterId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exporterId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string exporterId = 1; * @param value The exporterId to set. * @return This builder for chaining. */ public Builder setExporterId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } exporterId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string exporterId = 1; * @return This builder for chaining. */ public Builder clearExporterId() { exporterId_ = getDefaultInstance().getExporterId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string exporterId = 1; * @param value The bytes for exporterId to set. * @return This builder for chaining. */ public Builder setExporterIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); exporterId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private boolean dryRun_ ; /** * bool dryRun = 2; * @return The dryRun. */ @java.lang.Override public boolean getDryRun() { return dryRun_; } /** * bool dryRun = 2; * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { dryRun_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * bool dryRun = 2; * @return This builder for chaining. */ public Builder clearDryRun() { bitField0_ = (bitField0_ & ~0x00000002); dryRun_ = false; 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:topology_requests.ExporterDisableRequest) } // @@protoc_insertion_point(class_scope:topology_requests.ExporterDisableRequest) private static final io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest(); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExporterDisableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterDisableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExporterEnableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:topology_requests.ExporterEnableRequest) com.google.protobuf.MessageOrBuilder { /** * string exporterId = 1; * @return The exporterId. */ java.lang.String getExporterId(); /** * string exporterId = 1; * @return The bytes for exporterId. */ com.google.protobuf.ByteString getExporterIdBytes(); /** * optional string initializeFrom = 2; * @return Whether the initializeFrom field is set. */ boolean hasInitializeFrom(); /** * optional string initializeFrom = 2; * @return The initializeFrom. */ java.lang.String getInitializeFrom(); /** * optional string initializeFrom = 2; * @return The bytes for initializeFrom. */ com.google.protobuf.ByteString getInitializeFromBytes(); /** * bool dryRun = 3; * @return The dryRun. */ boolean getDryRun(); } /** * Protobuf type {@code topology_requests.ExporterEnableRequest} */ public static final class ExporterEnableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:topology_requests.ExporterEnableRequest) ExporterEnableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExporterEnableRequest.newBuilder() to construct. private ExporterEnableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExporterEnableRequest() { exporterId_ = ""; initializeFrom_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExporterEnableRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterEnableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterEnableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest.Builder.class); } private int bitField0_; public static final int EXPORTERID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object exporterId_ = ""; /** * string exporterId = 1; * @return The exporterId. */ @java.lang.Override public java.lang.String getExporterId() { java.lang.Object ref = exporterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); exporterId_ = s; return s; } } /** * string exporterId = 1; * @return The bytes for exporterId. */ @java.lang.Override public com.google.protobuf.ByteString getExporterIdBytes() { java.lang.Object ref = exporterId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exporterId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INITIALIZEFROM_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object initializeFrom_ = ""; /** * optional string initializeFrom = 2; * @return Whether the initializeFrom field is set. */ @java.lang.Override public boolean hasInitializeFrom() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string initializeFrom = 2; * @return The initializeFrom. */ @java.lang.Override public java.lang.String getInitializeFrom() { java.lang.Object ref = initializeFrom_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initializeFrom_ = s; return s; } } /** * optional string initializeFrom = 2; * @return The bytes for initializeFrom. */ @java.lang.Override public com.google.protobuf.ByteString getInitializeFromBytes() { java.lang.Object ref = initializeFrom_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); initializeFrom_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DRYRUN_FIELD_NUMBER = 3; private boolean dryRun_ = false; /** * bool dryRun = 3; * @return The dryRun. */ @java.lang.Override public boolean getDryRun() { return dryRun_; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exporterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, exporterId_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, initializeFrom_); } if (dryRun_ != false) { output.writeBool(3, dryRun_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exporterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, exporterId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, initializeFrom_); } if (dryRun_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, dryRun_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest)) { return super.equals(obj); } io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest) obj; if (!getExporterId() .equals(other.getExporterId())) return false; if (hasInitializeFrom() != other.hasInitializeFrom()) return false; if (hasInitializeFrom()) { if (!getInitializeFrom() .equals(other.getInitializeFrom())) return false; } if (getDryRun() != other.getDryRun()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPORTERID_FIELD_NUMBER; hash = (53 * hash) + getExporterId().hashCode(); if (hasInitializeFrom()) { hash = (37 * hash) + INITIALIZEFROM_FIELD_NUMBER; hash = (53 * hash) + getInitializeFrom().hashCode(); } hash = (37 * hash) + DRYRUN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDryRun()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest 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 topology_requests.ExporterEnableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:topology_requests.ExporterEnableRequest) io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterEnableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterEnableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest.Builder.class); } // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; exporterId_ = ""; initializeFrom_ = ""; dryRun_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ExporterEnableRequest_descriptor; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest getDefaultInstanceForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest.getDefaultInstance(); } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest build() { io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest buildPartial() { io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.exporterId_ = exporterId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.initializeFrom_ = initializeFrom_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.dryRun_ = dryRun_; } result.bitField0_ |= to_bitField0_; } @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 io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest) { return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest other) { if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest.getDefaultInstance()) return this; if (!other.getExporterId().isEmpty()) { exporterId_ = other.exporterId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasInitializeFrom()) { initializeFrom_ = other.initializeFrom_; bitField0_ |= 0x00000002; onChanged(); } if (other.getDryRun() != false) { setDryRun(other.getDryRun()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { exporterId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { initializeFrom_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { dryRun_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object exporterId_ = ""; /** * string exporterId = 1; * @return The exporterId. */ public java.lang.String getExporterId() { java.lang.Object ref = exporterId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); exporterId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string exporterId = 1; * @return The bytes for exporterId. */ public com.google.protobuf.ByteString getExporterIdBytes() { java.lang.Object ref = exporterId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exporterId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string exporterId = 1; * @param value The exporterId to set. * @return This builder for chaining. */ public Builder setExporterId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } exporterId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string exporterId = 1; * @return This builder for chaining. */ public Builder clearExporterId() { exporterId_ = getDefaultInstance().getExporterId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string exporterId = 1; * @param value The bytes for exporterId to set. * @return This builder for chaining. */ public Builder setExporterIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); exporterId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object initializeFrom_ = ""; /** * optional string initializeFrom = 2; * @return Whether the initializeFrom field is set. */ public boolean hasInitializeFrom() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string initializeFrom = 2; * @return The initializeFrom. */ public java.lang.String getInitializeFrom() { java.lang.Object ref = initializeFrom_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initializeFrom_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string initializeFrom = 2; * @return The bytes for initializeFrom. */ public com.google.protobuf.ByteString getInitializeFromBytes() { java.lang.Object ref = initializeFrom_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); initializeFrom_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string initializeFrom = 2; * @param value The initializeFrom to set. * @return This builder for chaining. */ public Builder setInitializeFrom( java.lang.String value) { if (value == null) { throw new NullPointerException(); } initializeFrom_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional string initializeFrom = 2; * @return This builder for chaining. */ public Builder clearInitializeFrom() { initializeFrom_ = getDefaultInstance().getInitializeFrom(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * optional string initializeFrom = 2; * @param value The bytes for initializeFrom to set. * @return This builder for chaining. */ public Builder setInitializeFromBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); initializeFrom_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private boolean dryRun_ ; /** * bool dryRun = 3; * @return The dryRun. */ @java.lang.Override public boolean getDryRun() { return dryRun_; } /** * bool dryRun = 3; * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { dryRun_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * bool dryRun = 3; * @return This builder for chaining. */ public Builder clearDryRun() { bitField0_ = (bitField0_ & ~0x00000004); dryRun_ = false; 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:topology_requests.ExporterEnableRequest) } // @@protoc_insertion_point(class_scope:topology_requests.ExporterEnableRequest) private static final io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest(); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExporterEnableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ExporterEnableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CancelTopologyChangeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:topology_requests.CancelTopologyChangeRequest) com.google.protobuf.MessageOrBuilder { /** * int64 changeId = 1; * @return The changeId. */ long getChangeId(); } /** * Protobuf type {@code topology_requests.CancelTopologyChangeRequest} */ public static final class CancelTopologyChangeRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:topology_requests.CancelTopologyChangeRequest) CancelTopologyChangeRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CancelTopologyChangeRequest.newBuilder() to construct. private CancelTopologyChangeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CancelTopologyChangeRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CancelTopologyChangeRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_CancelTopologyChangeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_CancelTopologyChangeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest.Builder.class); } public static final int CHANGEID_FIELD_NUMBER = 1; private long changeId_ = 0L; /** * int64 changeId = 1; * @return The changeId. */ @java.lang.Override public long getChangeId() { return changeId_; } 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 (changeId_ != 0L) { output.writeInt64(1, changeId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (changeId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, changeId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest)) { return super.equals(obj); } io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest other = (io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest) obj; if (getChangeId() != other.getChangeId()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CHANGEID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getChangeId()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest 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 io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest 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(io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest 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 topology_requests.CancelTopologyChangeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:topology_requests.CancelTopologyChangeRequest) io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_CancelTopologyChangeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_CancelTopologyChangeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest.class, io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest.Builder.class); } // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; changeId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_CancelTopologyChangeRequest_descriptor; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest getDefaultInstanceForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest.getDefaultInstance(); } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest build() { io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest buildPartial() { io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest result = new io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.changeId_ = changeId_; } } @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 io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest) { return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest other) { if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest.getDefaultInstance()) return this; if (other.getChangeId() != 0L) { setChangeId(other.getChangeId()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { changeId_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long changeId_ ; /** * int64 changeId = 1; * @return The changeId. */ @java.lang.Override public long getChangeId() { return changeId_; } /** * int64 changeId = 1; * @param value The changeId to set. * @return This builder for chaining. */ public Builder setChangeId(long value) { changeId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * int64 changeId = 1; * @return This builder for chaining. */ public Builder clearChangeId() { bitField0_ = (bitField0_ & ~0x00000001); changeId_ = 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:topology_requests.CancelTopologyChangeRequest) } // @@protoc_insertion_point(class_scope:topology_requests.CancelTopologyChangeRequest) private static final io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest(); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CancelTopologyChangeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.CancelTopologyChangeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopologyChangeResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:topology_requests.TopologyChangeResponse) com.google.protobuf.MessageOrBuilder { /** * int64 changeId = 1; * @return The changeId. */ long getChangeId(); /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ int getCurrentTopologyCount(); /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ boolean containsCurrentTopology( java.lang.String key); /** * Use {@link #getCurrentTopologyMap()} instead. */ @java.lang.Deprecated java.util.Map getCurrentTopology(); /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ java.util.Map getCurrentTopologyMap(); /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getCurrentTopologyOrDefault( java.lang.String key, /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState defaultValue); /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getCurrentTopologyOrThrow( java.lang.String key); /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ int getExpectedTopologyCount(); /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ boolean containsExpectedTopology( java.lang.String key); /** * Use {@link #getExpectedTopologyMap()} instead. */ @java.lang.Deprecated java.util.Map getExpectedTopology(); /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ java.util.Map getExpectedTopologyMap(); /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getExpectedTopologyOrDefault( java.lang.String key, /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState defaultValue); /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getExpectedTopologyOrThrow( java.lang.String key); /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ java.util.List getPlannedChangesList(); /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation getPlannedChanges(int index); /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ int getPlannedChangesCount(); /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ java.util.List getPlannedChangesOrBuilderList(); /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperationOrBuilder getPlannedChangesOrBuilder( int index); } /** * Protobuf type {@code topology_requests.TopologyChangeResponse} */ public static final class TopologyChangeResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:topology_requests.TopologyChangeResponse) TopologyChangeResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TopologyChangeResponse.newBuilder() to construct. private TopologyChangeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopologyChangeResponse() { plannedChanges_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopologyChangeResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_TopologyChangeResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 2: return internalGetCurrentTopology(); case 3: return internalGetExpectedTopology(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_TopologyChangeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.class, io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.Builder.class); } public static final int CHANGEID_FIELD_NUMBER = 1; private long changeId_ = 0L; /** * int64 changeId = 1; * @return The changeId. */ @java.lang.Override public long getChangeId() { return changeId_; } public static final int CURRENTTOPOLOGY_FIELD_NUMBER = 2; private static final class CurrentTopologyDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_TopologyChangeResponse_CurrentTopologyEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState> currentTopology_; private com.google.protobuf.MapField internalGetCurrentTopology() { if (currentTopology_ == null) { return com.google.protobuf.MapField.emptyMapField( CurrentTopologyDefaultEntryHolder.defaultEntry); } return currentTopology_; } public int getCurrentTopologyCount() { return internalGetCurrentTopology().getMap().size(); } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ @java.lang.Override public boolean containsCurrentTopology( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCurrentTopology().getMap().containsKey(key); } /** * Use {@link #getCurrentTopologyMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCurrentTopology() { return getCurrentTopologyMap(); } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ @java.lang.Override public java.util.Map getCurrentTopologyMap() { return internalGetCurrentTopology().getMap(); } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ @java.lang.Override public /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getCurrentTopologyOrDefault( java.lang.String key, /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCurrentTopology().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getCurrentTopologyOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCurrentTopology().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int EXPECTEDTOPOLOGY_FIELD_NUMBER = 3; private static final class ExpectedTopologyDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_TopologyChangeResponse_ExpectedTopologyEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState> expectedTopology_; private com.google.protobuf.MapField internalGetExpectedTopology() { if (expectedTopology_ == null) { return com.google.protobuf.MapField.emptyMapField( ExpectedTopologyDefaultEntryHolder.defaultEntry); } return expectedTopology_; } public int getExpectedTopologyCount() { return internalGetExpectedTopology().getMap().size(); } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ @java.lang.Override public boolean containsExpectedTopology( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetExpectedTopology().getMap().containsKey(key); } /** * Use {@link #getExpectedTopologyMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getExpectedTopology() { return getExpectedTopologyMap(); } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ @java.lang.Override public java.util.Map getExpectedTopologyMap() { return internalGetExpectedTopology().getMap(); } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ @java.lang.Override public /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getExpectedTopologyOrDefault( java.lang.String key, /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExpectedTopology().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getExpectedTopologyOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExpectedTopology().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int PLANNEDCHANGES_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List plannedChanges_; /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ @java.lang.Override public java.util.List getPlannedChangesList() { return plannedChanges_; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ @java.lang.Override public java.util.List getPlannedChangesOrBuilderList() { return plannedChanges_; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ @java.lang.Override public int getPlannedChangesCount() { return plannedChanges_.size(); } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation getPlannedChanges(int index) { return plannedChanges_.get(index); } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperationOrBuilder getPlannedChangesOrBuilder( int index) { return plannedChanges_.get(index); } 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 (changeId_ != 0L) { output.writeInt64(1, changeId_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetCurrentTopology(), CurrentTopologyDefaultEntryHolder.defaultEntry, 2); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetExpectedTopology(), ExpectedTopologyDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < plannedChanges_.size(); i++) { output.writeMessage(4, plannedChanges_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (changeId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, changeId_); } for (java.util.Map.Entry entry : internalGetCurrentTopology().getMap().entrySet()) { com.google.protobuf.MapEntry currentTopology__ = CurrentTopologyDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, currentTopology__); } for (java.util.Map.Entry entry : internalGetExpectedTopology().getMap().entrySet()) { com.google.protobuf.MapEntry expectedTopology__ = ExpectedTopologyDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, expectedTopology__); } for (int i = 0; i < plannedChanges_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, plannedChanges_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse)) { return super.equals(obj); } io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse other = (io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) obj; if (getChangeId() != other.getChangeId()) return false; if (!internalGetCurrentTopology().equals( other.internalGetCurrentTopology())) return false; if (!internalGetExpectedTopology().equals( other.internalGetExpectedTopology())) return false; if (!getPlannedChangesList() .equals(other.getPlannedChangesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CHANGEID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getChangeId()); if (!internalGetCurrentTopology().getMap().isEmpty()) { hash = (37 * hash) + CURRENTTOPOLOGY_FIELD_NUMBER; hash = (53 * hash) + internalGetCurrentTopology().hashCode(); } if (!internalGetExpectedTopology().getMap().isEmpty()) { hash = (37 * hash) + EXPECTEDTOPOLOGY_FIELD_NUMBER; hash = (53 * hash) + internalGetExpectedTopology().hashCode(); } if (getPlannedChangesCount() > 0) { hash = (37 * hash) + PLANNEDCHANGES_FIELD_NUMBER; hash = (53 * hash) + getPlannedChangesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse 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 io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse 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 io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse 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(io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse 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 topology_requests.TopologyChangeResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:topology_requests.TopologyChangeResponse) io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_TopologyChangeResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 2: return internalGetCurrentTopology(); case 3: return internalGetExpectedTopology(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 2: return internalGetMutableCurrentTopology(); case 3: return internalGetMutableExpectedTopology(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_TopologyChangeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.class, io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.Builder.class); } // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; changeId_ = 0L; internalGetMutableCurrentTopology().clear(); internalGetMutableExpectedTopology().clear(); if (plannedChangesBuilder_ == null) { plannedChanges_ = java.util.Collections.emptyList(); } else { plannedChanges_ = null; plannedChangesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_TopologyChangeResponse_descriptor; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse getDefaultInstanceForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance(); } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse build() { io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse buildPartial() { io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse result = new io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse result) { if (plannedChangesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { plannedChanges_ = java.util.Collections.unmodifiableList(plannedChanges_); bitField0_ = (bitField0_ & ~0x00000008); } result.plannedChanges_ = plannedChanges_; } else { result.plannedChanges_ = plannedChangesBuilder_.build(); } } private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.changeId_ = changeId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.currentTopology_ = internalGetCurrentTopology().build(CurrentTopologyDefaultEntryHolder.defaultEntry); } if (((from_bitField0_ & 0x00000004) != 0)) { result.expectedTopology_ = internalGetExpectedTopology().build(ExpectedTopologyDefaultEntryHolder.defaultEntry); } } @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 io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) { return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse other) { if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance()) return this; if (other.getChangeId() != 0L) { setChangeId(other.getChangeId()); } internalGetMutableCurrentTopology().mergeFrom( other.internalGetCurrentTopology()); bitField0_ |= 0x00000002; internalGetMutableExpectedTopology().mergeFrom( other.internalGetExpectedTopology()); bitField0_ |= 0x00000004; if (plannedChangesBuilder_ == null) { if (!other.plannedChanges_.isEmpty()) { if (plannedChanges_.isEmpty()) { plannedChanges_ = other.plannedChanges_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePlannedChangesIsMutable(); plannedChanges_.addAll(other.plannedChanges_); } onChanged(); } } else { if (!other.plannedChanges_.isEmpty()) { if (plannedChangesBuilder_.isEmpty()) { plannedChangesBuilder_.dispose(); plannedChangesBuilder_ = null; plannedChanges_ = other.plannedChanges_; bitField0_ = (bitField0_ & ~0x00000008); plannedChangesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPlannedChangesFieldBuilder() : null; } else { plannedChangesBuilder_.addAllMessages(other.plannedChanges_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { changeId_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { com.google.protobuf.MapEntry currentTopology__ = input.readMessage( CurrentTopologyDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableCurrentTopology().ensureBuilderMap().put( currentTopology__.getKey(), currentTopology__.getValue()); bitField0_ |= 0x00000002; break; } // case 18 case 26: { com.google.protobuf.MapEntry expectedTopology__ = input.readMessage( ExpectedTopologyDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableExpectedTopology().ensureBuilderMap().put( expectedTopology__.getKey(), expectedTopology__.getValue()); bitField0_ |= 0x00000004; break; } // case 26 case 34: { io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation m = input.readMessage( io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.parser(), extensionRegistry); if (plannedChangesBuilder_ == null) { ensurePlannedChangesIsMutable(); plannedChanges_.add(m); } else { plannedChangesBuilder_.addMessage(m); } break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long changeId_ ; /** * int64 changeId = 1; * @return The changeId. */ @java.lang.Override public long getChangeId() { return changeId_; } /** * int64 changeId = 1; * @param value The changeId to set. * @return This builder for chaining. */ public Builder setChangeId(long value) { changeId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * int64 changeId = 1; * @return This builder for chaining. */ public Builder clearChangeId() { bitField0_ = (bitField0_ & ~0x00000001); changeId_ = 0L; onChanged(); return this; } private static final class CurrentTopologyConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState build(io.camunda.zeebe.dynamic.config.protocol.Topology.MemberStateOrBuilder val) { if (val instanceof io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState) { return (io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState) val; } return ((io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.Builder) val).build(); } @java.lang.Override public com.google.protobuf.MapEntry defaultEntry() { return CurrentTopologyDefaultEntryHolder.defaultEntry; } }; private static final CurrentTopologyConverter currentTopologyConverter = new CurrentTopologyConverter(); private com.google.protobuf.MapFieldBuilder< java.lang.String, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberStateOrBuilder, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.Builder> currentTopology_; private com.google.protobuf.MapFieldBuilder internalGetCurrentTopology() { if (currentTopology_ == null) { return new com.google.protobuf.MapFieldBuilder<>(currentTopologyConverter); } return currentTopology_; } private com.google.protobuf.MapFieldBuilder internalGetMutableCurrentTopology() { if (currentTopology_ == null) { currentTopology_ = new com.google.protobuf.MapFieldBuilder<>(currentTopologyConverter); } bitField0_ |= 0x00000002; onChanged(); return currentTopology_; } public int getCurrentTopologyCount() { return internalGetCurrentTopology().ensureBuilderMap().size(); } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ @java.lang.Override public boolean containsCurrentTopology( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCurrentTopology().ensureBuilderMap().containsKey(key); } /** * Use {@link #getCurrentTopologyMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCurrentTopology() { return getCurrentTopologyMap(); } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ @java.lang.Override public java.util.Map getCurrentTopologyMap() { return internalGetCurrentTopology().getImmutableMap(); } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ @java.lang.Override public /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getCurrentTopologyOrDefault( java.lang.String key, /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableCurrentTopology().ensureBuilderMap(); return map.containsKey(key) ? currentTopologyConverter.build(map.get(key)) : defaultValue; } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getCurrentTopologyOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableCurrentTopology().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return currentTopologyConverter.build(map.get(key)); } public Builder clearCurrentTopology() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableCurrentTopology().clear(); return this; } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ public Builder removeCurrentTopology( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableCurrentTopology().ensureBuilderMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableCurrentTopology() { bitField0_ |= 0x00000002; return internalGetMutableCurrentTopology().ensureMessageMap(); } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ public Builder putCurrentTopology( java.lang.String key, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableCurrentTopology().ensureBuilderMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ public Builder putAllCurrentTopology( java.util.Map values) { for (java.util.Map.Entry e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } internalGetMutableCurrentTopology().ensureBuilderMap() .putAll(values); bitField0_ |= 0x00000002; return this; } /** * map<string, .topology_protocol.MemberState> currentTopology = 2; */ public io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.Builder putCurrentTopologyBuilderIfAbsent( java.lang.String key) { java.util.Map builderMap = internalGetMutableCurrentTopology().ensureBuilderMap(); io.camunda.zeebe.dynamic.config.protocol.Topology.MemberStateOrBuilder entry = builderMap.get(key); if (entry == null) { entry = io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.newBuilder(); builderMap.put(key, entry); } if (entry instanceof io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState) { entry = ((io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState) entry).toBuilder(); builderMap.put(key, entry); } return (io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.Builder) entry; } private static final class ExpectedTopologyConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState build(io.camunda.zeebe.dynamic.config.protocol.Topology.MemberStateOrBuilder val) { if (val instanceof io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState) { return (io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState) val; } return ((io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.Builder) val).build(); } @java.lang.Override public com.google.protobuf.MapEntry defaultEntry() { return ExpectedTopologyDefaultEntryHolder.defaultEntry; } }; private static final ExpectedTopologyConverter expectedTopologyConverter = new ExpectedTopologyConverter(); private com.google.protobuf.MapFieldBuilder< java.lang.String, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberStateOrBuilder, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.Builder> expectedTopology_; private com.google.protobuf.MapFieldBuilder internalGetExpectedTopology() { if (expectedTopology_ == null) { return new com.google.protobuf.MapFieldBuilder<>(expectedTopologyConverter); } return expectedTopology_; } private com.google.protobuf.MapFieldBuilder internalGetMutableExpectedTopology() { if (expectedTopology_ == null) { expectedTopology_ = new com.google.protobuf.MapFieldBuilder<>(expectedTopologyConverter); } bitField0_ |= 0x00000004; onChanged(); return expectedTopology_; } public int getExpectedTopologyCount() { return internalGetExpectedTopology().ensureBuilderMap().size(); } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ @java.lang.Override public boolean containsExpectedTopology( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetExpectedTopology().ensureBuilderMap().containsKey(key); } /** * Use {@link #getExpectedTopologyMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getExpectedTopology() { return getExpectedTopologyMap(); } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ @java.lang.Override public java.util.Map getExpectedTopologyMap() { return internalGetExpectedTopology().getImmutableMap(); } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ @java.lang.Override public /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getExpectedTopologyOrDefault( java.lang.String key, /* nullable */ io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableExpectedTopology().ensureBuilderMap(); return map.containsKey(key) ? expectedTopologyConverter.build(map.get(key)) : defaultValue; } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState getExpectedTopologyOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableExpectedTopology().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return expectedTopologyConverter.build(map.get(key)); } public Builder clearExpectedTopology() { bitField0_ = (bitField0_ & ~0x00000004); internalGetMutableExpectedTopology().clear(); return this; } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ public Builder removeExpectedTopology( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableExpectedTopology().ensureBuilderMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableExpectedTopology() { bitField0_ |= 0x00000004; return internalGetMutableExpectedTopology().ensureMessageMap(); } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ public Builder putExpectedTopology( java.lang.String key, io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableExpectedTopology().ensureBuilderMap() .put(key, value); bitField0_ |= 0x00000004; return this; } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ public Builder putAllExpectedTopology( java.util.Map values) { for (java.util.Map.Entry e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } internalGetMutableExpectedTopology().ensureBuilderMap() .putAll(values); bitField0_ |= 0x00000004; return this; } /** * map<string, .topology_protocol.MemberState> expectedTopology = 3; */ public io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.Builder putExpectedTopologyBuilderIfAbsent( java.lang.String key) { java.util.Map builderMap = internalGetMutableExpectedTopology().ensureBuilderMap(); io.camunda.zeebe.dynamic.config.protocol.Topology.MemberStateOrBuilder entry = builderMap.get(key); if (entry == null) { entry = io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.newBuilder(); builderMap.put(key, entry); } if (entry instanceof io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState) { entry = ((io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState) entry).toBuilder(); builderMap.put(key, entry); } return (io.camunda.zeebe.dynamic.config.protocol.Topology.MemberState.Builder) entry; } private java.util.List plannedChanges_ = java.util.Collections.emptyList(); private void ensurePlannedChangesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { plannedChanges_ = new java.util.ArrayList(plannedChanges_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperationOrBuilder> plannedChangesBuilder_; /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public java.util.List getPlannedChangesList() { if (plannedChangesBuilder_ == null) { return java.util.Collections.unmodifiableList(plannedChanges_); } else { return plannedChangesBuilder_.getMessageList(); } } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public int getPlannedChangesCount() { if (plannedChangesBuilder_ == null) { return plannedChanges_.size(); } else { return plannedChangesBuilder_.getCount(); } } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation getPlannedChanges(int index) { if (plannedChangesBuilder_ == null) { return plannedChanges_.get(index); } else { return plannedChangesBuilder_.getMessage(index); } } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder setPlannedChanges( int index, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation value) { if (plannedChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlannedChangesIsMutable(); plannedChanges_.set(index, value); onChanged(); } else { plannedChangesBuilder_.setMessage(index, value); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder setPlannedChanges( int index, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder builderForValue) { if (plannedChangesBuilder_ == null) { ensurePlannedChangesIsMutable(); plannedChanges_.set(index, builderForValue.build()); onChanged(); } else { plannedChangesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder addPlannedChanges(io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation value) { if (plannedChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlannedChangesIsMutable(); plannedChanges_.add(value); onChanged(); } else { plannedChangesBuilder_.addMessage(value); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder addPlannedChanges( int index, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation value) { if (plannedChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlannedChangesIsMutable(); plannedChanges_.add(index, value); onChanged(); } else { plannedChangesBuilder_.addMessage(index, value); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder addPlannedChanges( io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder builderForValue) { if (plannedChangesBuilder_ == null) { ensurePlannedChangesIsMutable(); plannedChanges_.add(builderForValue.build()); onChanged(); } else { plannedChangesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder addPlannedChanges( int index, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder builderForValue) { if (plannedChangesBuilder_ == null) { ensurePlannedChangesIsMutable(); plannedChanges_.add(index, builderForValue.build()); onChanged(); } else { plannedChangesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder addAllPlannedChanges( java.lang.Iterable values) { if (plannedChangesBuilder_ == null) { ensurePlannedChangesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, plannedChanges_); onChanged(); } else { plannedChangesBuilder_.addAllMessages(values); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder clearPlannedChanges() { if (plannedChangesBuilder_ == null) { plannedChanges_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { plannedChangesBuilder_.clear(); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public Builder removePlannedChanges(int index) { if (plannedChangesBuilder_ == null) { ensurePlannedChangesIsMutable(); plannedChanges_.remove(index); onChanged(); } else { plannedChangesBuilder_.remove(index); } return this; } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder getPlannedChangesBuilder( int index) { return getPlannedChangesFieldBuilder().getBuilder(index); } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperationOrBuilder getPlannedChangesOrBuilder( int index) { if (plannedChangesBuilder_ == null) { return plannedChanges_.get(index); } else { return plannedChangesBuilder_.getMessageOrBuilder(index); } } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public java.util.List getPlannedChangesOrBuilderList() { if (plannedChangesBuilder_ != null) { return plannedChangesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(plannedChanges_); } } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder addPlannedChangesBuilder() { return getPlannedChangesFieldBuilder().addBuilder( io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.getDefaultInstance()); } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder addPlannedChangesBuilder( int index) { return getPlannedChangesFieldBuilder().addBuilder( index, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.getDefaultInstance()); } /** * repeated .topology_protocol.TopologyChangeOperation plannedChanges = 4; */ public java.util.List getPlannedChangesBuilderList() { return getPlannedChangesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperationOrBuilder> getPlannedChangesFieldBuilder() { if (plannedChangesBuilder_ == null) { plannedChangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperation.Builder, io.camunda.zeebe.dynamic.config.protocol.Topology.TopologyChangeOperationOrBuilder>( plannedChanges_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); plannedChanges_ = null; } return plannedChangesBuilder_; } @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:topology_requests.TopologyChangeResponse) } // @@protoc_insertion_point(class_scope:topology_requests.TopologyChangeResponse) private static final io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse(); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopologyChangeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:topology_requests.Response) com.google.protobuf.MessageOrBuilder { /** * .topology_requests.ErrorResponse error = 1; * @return Whether the error field is set. */ boolean hasError(); /** * .topology_requests.ErrorResponse error = 1; * @return The error. */ io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse getError(); /** * .topology_requests.ErrorResponse error = 1; */ io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponseOrBuilder getErrorOrBuilder(); /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; * @return Whether the topologyChangeResponse field is set. */ boolean hasTopologyChangeResponse(); /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; * @return The topologyChangeResponse. */ io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse getTopologyChangeResponse(); /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponseOrBuilder getTopologyChangeResponseOrBuilder(); /** * .topology_protocol.ClusterTopology clusterTopology = 3; * @return Whether the clusterTopology field is set. */ boolean hasClusterTopology(); /** * .topology_protocol.ClusterTopology clusterTopology = 3; * @return The clusterTopology. */ io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology getClusterTopology(); /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopologyOrBuilder getClusterTopologyOrBuilder(); io.camunda.zeebe.dynamic.config.protocol.Requests.Response.ResponseCase getResponseCase(); } /** * Protobuf type {@code topology_requests.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:topology_requests.Response) ResponseOrBuilder { private static final long serialVersionUID = 0L; // Use Response.newBuilder() to construct. private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Response() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Response(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.Response.class, io.camunda.zeebe.dynamic.config.protocol.Requests.Response.Builder.class); } private int responseCase_ = 0; @SuppressWarnings("serial") private java.lang.Object response_; public enum ResponseCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ERROR(1), TOPOLOGYCHANGERESPONSE(2), CLUSTERTOPOLOGY(3), RESPONSE_NOT_SET(0); private final int value; private ResponseCase(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 ResponseCase valueOf(int value) { return forNumber(value); } public static ResponseCase forNumber(int value) { switch (value) { case 1: return ERROR; case 2: return TOPOLOGYCHANGERESPONSE; case 3: return CLUSTERTOPOLOGY; case 0: return RESPONSE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ResponseCase getResponseCase() { return ResponseCase.forNumber( responseCase_); } public static final int ERROR_FIELD_NUMBER = 1; /** * .topology_requests.ErrorResponse error = 1; * @return Whether the error field is set. */ @java.lang.Override public boolean hasError() { return responseCase_ == 1; } /** * .topology_requests.ErrorResponse error = 1; * @return The error. */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse getError() { if (responseCase_ == 1) { return (io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) response_; } return io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance(); } /** * .topology_requests.ErrorResponse error = 1; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponseOrBuilder getErrorOrBuilder() { if (responseCase_ == 1) { return (io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) response_; } return io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance(); } public static final int TOPOLOGYCHANGERESPONSE_FIELD_NUMBER = 2; /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; * @return Whether the topologyChangeResponse field is set. */ @java.lang.Override public boolean hasTopologyChangeResponse() { return responseCase_ == 2; } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; * @return The topologyChangeResponse. */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse getTopologyChangeResponse() { if (responseCase_ == 2) { return (io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) response_; } return io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance(); } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponseOrBuilder getTopologyChangeResponseOrBuilder() { if (responseCase_ == 2) { return (io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) response_; } return io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance(); } public static final int CLUSTERTOPOLOGY_FIELD_NUMBER = 3; /** * .topology_protocol.ClusterTopology clusterTopology = 3; * @return Whether the clusterTopology field is set. */ @java.lang.Override public boolean hasClusterTopology() { return responseCase_ == 3; } /** * .topology_protocol.ClusterTopology clusterTopology = 3; * @return The clusterTopology. */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology getClusterTopology() { if (responseCase_ == 3) { return (io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology) response_; } return io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.getDefaultInstance(); } /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopologyOrBuilder getClusterTopologyOrBuilder() { if (responseCase_ == 3) { return (io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology) response_; } return io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.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 (responseCase_ == 1) { output.writeMessage(1, (io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) response_); } if (responseCase_ == 2) { output.writeMessage(2, (io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) response_); } if (responseCase_ == 3) { output.writeMessage(3, (io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology) response_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (responseCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) response_); } if (responseCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) response_); } if (responseCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology) response_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.Response)) { return super.equals(obj); } io.camunda.zeebe.dynamic.config.protocol.Requests.Response other = (io.camunda.zeebe.dynamic.config.protocol.Requests.Response) obj; if (!getResponseCase().equals(other.getResponseCase())) return false; switch (responseCase_) { case 1: if (!getError() .equals(other.getError())) return false; break; case 2: if (!getTopologyChangeResponse() .equals(other.getTopologyChangeResponse())) return false; break; case 3: if (!getClusterTopology() .equals(other.getClusterTopology())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (responseCase_) { case 1: hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); break; case 2: hash = (37 * hash) + TOPOLOGYCHANGERESPONSE_FIELD_NUMBER; hash = (53 * hash) + getTopologyChangeResponse().hashCode(); break; case 3: hash = (37 * hash) + CLUSTERTOPOLOGY_FIELD_NUMBER; hash = (53 * hash) + getClusterTopology().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response 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 io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response 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 io.camunda.zeebe.dynamic.config.protocol.Requests.Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response 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(io.camunda.zeebe.dynamic.config.protocol.Requests.Response 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 topology_requests.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:topology_requests.Response) io.camunda.zeebe.dynamic.config.protocol.Requests.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.Response.class, io.camunda.zeebe.dynamic.config.protocol.Requests.Response.Builder.class); } // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.Response.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (errorBuilder_ != null) { errorBuilder_.clear(); } if (topologyChangeResponseBuilder_ != null) { topologyChangeResponseBuilder_.clear(); } if (clusterTopologyBuilder_ != null) { clusterTopologyBuilder_.clear(); } responseCase_ = 0; response_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_Response_descriptor; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.Response getDefaultInstanceForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.Response.getDefaultInstance(); } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.Response build() { io.camunda.zeebe.dynamic.config.protocol.Requests.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.Response buildPartial() { io.camunda.zeebe.dynamic.config.protocol.Requests.Response result = new io.camunda.zeebe.dynamic.config.protocol.Requests.Response(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.Response result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(io.camunda.zeebe.dynamic.config.protocol.Requests.Response result) { result.responseCase_ = responseCase_; result.response_ = this.response_; if (responseCase_ == 1 && errorBuilder_ != null) { result.response_ = errorBuilder_.build(); } if (responseCase_ == 2 && topologyChangeResponseBuilder_ != null) { result.response_ = topologyChangeResponseBuilder_.build(); } if (responseCase_ == 3 && clusterTopologyBuilder_ != null) { result.response_ = clusterTopologyBuilder_.build(); } } @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 io.camunda.zeebe.dynamic.config.protocol.Requests.Response) { return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.Response other) { if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.Response.getDefaultInstance()) return this; switch (other.getResponseCase()) { case ERROR: { mergeError(other.getError()); break; } case TOPOLOGYCHANGERESPONSE: { mergeTopologyChangeResponse(other.getTopologyChangeResponse()); break; } case CLUSTERTOPOLOGY: { mergeClusterTopology(other.getClusterTopology()); break; } case RESPONSE_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getErrorFieldBuilder().getBuilder(), extensionRegistry); responseCase_ = 1; break; } // case 10 case 18: { input.readMessage( getTopologyChangeResponseFieldBuilder().getBuilder(), extensionRegistry); responseCase_ = 2; break; } // case 18 case 26: { input.readMessage( getClusterTopologyFieldBuilder().getBuilder(), extensionRegistry); responseCase_ = 3; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int responseCase_ = 0; private java.lang.Object response_; public ResponseCase getResponseCase() { return ResponseCase.forNumber( responseCase_); } public Builder clearResponse() { responseCase_ = 0; response_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse, io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.Builder, io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponseOrBuilder> errorBuilder_; /** * .topology_requests.ErrorResponse error = 1; * @return Whether the error field is set. */ @java.lang.Override public boolean hasError() { return responseCase_ == 1; } /** * .topology_requests.ErrorResponse error = 1; * @return The error. */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse getError() { if (errorBuilder_ == null) { if (responseCase_ == 1) { return (io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) response_; } return io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance(); } else { if (responseCase_ == 1) { return errorBuilder_.getMessage(); } return io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance(); } } /** * .topology_requests.ErrorResponse error = 1; */ public Builder setError(io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse value) { if (errorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } response_ = value; onChanged(); } else { errorBuilder_.setMessage(value); } responseCase_ = 1; return this; } /** * .topology_requests.ErrorResponse error = 1; */ public Builder setError( io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.Builder builderForValue) { if (errorBuilder_ == null) { response_ = builderForValue.build(); onChanged(); } else { errorBuilder_.setMessage(builderForValue.build()); } responseCase_ = 1; return this; } /** * .topology_requests.ErrorResponse error = 1; */ public Builder mergeError(io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse value) { if (errorBuilder_ == null) { if (responseCase_ == 1 && response_ != io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance()) { response_ = io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.newBuilder((io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) response_) .mergeFrom(value).buildPartial(); } else { response_ = value; } onChanged(); } else { if (responseCase_ == 1) { errorBuilder_.mergeFrom(value); } else { errorBuilder_.setMessage(value); } } responseCase_ = 1; return this; } /** * .topology_requests.ErrorResponse error = 1; */ public Builder clearError() { if (errorBuilder_ == null) { if (responseCase_ == 1) { responseCase_ = 0; response_ = null; onChanged(); } } else { if (responseCase_ == 1) { responseCase_ = 0; response_ = null; } errorBuilder_.clear(); } return this; } /** * .topology_requests.ErrorResponse error = 1; */ public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** * .topology_requests.ErrorResponse error = 1; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponseOrBuilder getErrorOrBuilder() { if ((responseCase_ == 1) && (errorBuilder_ != null)) { return errorBuilder_.getMessageOrBuilder(); } else { if (responseCase_ == 1) { return (io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) response_; } return io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance(); } } /** * .topology_requests.ErrorResponse error = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse, io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.Builder, io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponseOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { if (!(responseCase_ == 1)) { response_ = io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance(); } errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse, io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.Builder, io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponseOrBuilder>( (io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) response_, getParentForChildren(), isClean()); response_ = null; } responseCase_ = 1; onChanged(); return errorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse, io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.Builder, io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponseOrBuilder> topologyChangeResponseBuilder_; /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; * @return Whether the topologyChangeResponse field is set. */ @java.lang.Override public boolean hasTopologyChangeResponse() { return responseCase_ == 2; } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; * @return The topologyChangeResponse. */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse getTopologyChangeResponse() { if (topologyChangeResponseBuilder_ == null) { if (responseCase_ == 2) { return (io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) response_; } return io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance(); } else { if (responseCase_ == 2) { return topologyChangeResponseBuilder_.getMessage(); } return io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance(); } } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ public Builder setTopologyChangeResponse(io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse value) { if (topologyChangeResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } response_ = value; onChanged(); } else { topologyChangeResponseBuilder_.setMessage(value); } responseCase_ = 2; return this; } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ public Builder setTopologyChangeResponse( io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.Builder builderForValue) { if (topologyChangeResponseBuilder_ == null) { response_ = builderForValue.build(); onChanged(); } else { topologyChangeResponseBuilder_.setMessage(builderForValue.build()); } responseCase_ = 2; return this; } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ public Builder mergeTopologyChangeResponse(io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse value) { if (topologyChangeResponseBuilder_ == null) { if (responseCase_ == 2 && response_ != io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance()) { response_ = io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.newBuilder((io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) response_) .mergeFrom(value).buildPartial(); } else { response_ = value; } onChanged(); } else { if (responseCase_ == 2) { topologyChangeResponseBuilder_.mergeFrom(value); } else { topologyChangeResponseBuilder_.setMessage(value); } } responseCase_ = 2; return this; } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ public Builder clearTopologyChangeResponse() { if (topologyChangeResponseBuilder_ == null) { if (responseCase_ == 2) { responseCase_ = 0; response_ = null; onChanged(); } } else { if (responseCase_ == 2) { responseCase_ = 0; response_ = null; } topologyChangeResponseBuilder_.clear(); } return this; } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.Builder getTopologyChangeResponseBuilder() { return getTopologyChangeResponseFieldBuilder().getBuilder(); } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponseOrBuilder getTopologyChangeResponseOrBuilder() { if ((responseCase_ == 2) && (topologyChangeResponseBuilder_ != null)) { return topologyChangeResponseBuilder_.getMessageOrBuilder(); } else { if (responseCase_ == 2) { return (io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) response_; } return io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance(); } } /** * .topology_requests.TopologyChangeResponse topologyChangeResponse = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse, io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.Builder, io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponseOrBuilder> getTopologyChangeResponseFieldBuilder() { if (topologyChangeResponseBuilder_ == null) { if (!(responseCase_ == 2)) { response_ = io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.getDefaultInstance(); } topologyChangeResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse, io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse.Builder, io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponseOrBuilder>( (io.camunda.zeebe.dynamic.config.protocol.Requests.TopologyChangeResponse) response_, getParentForChildren(), isClean()); response_ = null; } responseCase_ = 2; onChanged(); return topologyChangeResponseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology, io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.Builder, io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopologyOrBuilder> clusterTopologyBuilder_; /** * .topology_protocol.ClusterTopology clusterTopology = 3; * @return Whether the clusterTopology field is set. */ @java.lang.Override public boolean hasClusterTopology() { return responseCase_ == 3; } /** * .topology_protocol.ClusterTopology clusterTopology = 3; * @return The clusterTopology. */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology getClusterTopology() { if (clusterTopologyBuilder_ == null) { if (responseCase_ == 3) { return (io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology) response_; } return io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.getDefaultInstance(); } else { if (responseCase_ == 3) { return clusterTopologyBuilder_.getMessage(); } return io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.getDefaultInstance(); } } /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ public Builder setClusterTopology(io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology value) { if (clusterTopologyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } response_ = value; onChanged(); } else { clusterTopologyBuilder_.setMessage(value); } responseCase_ = 3; return this; } /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ public Builder setClusterTopology( io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.Builder builderForValue) { if (clusterTopologyBuilder_ == null) { response_ = builderForValue.build(); onChanged(); } else { clusterTopologyBuilder_.setMessage(builderForValue.build()); } responseCase_ = 3; return this; } /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ public Builder mergeClusterTopology(io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology value) { if (clusterTopologyBuilder_ == null) { if (responseCase_ == 3 && response_ != io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.getDefaultInstance()) { response_ = io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.newBuilder((io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology) response_) .mergeFrom(value).buildPartial(); } else { response_ = value; } onChanged(); } else { if (responseCase_ == 3) { clusterTopologyBuilder_.mergeFrom(value); } else { clusterTopologyBuilder_.setMessage(value); } } responseCase_ = 3; return this; } /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ public Builder clearClusterTopology() { if (clusterTopologyBuilder_ == null) { if (responseCase_ == 3) { responseCase_ = 0; response_ = null; onChanged(); } } else { if (responseCase_ == 3) { responseCase_ = 0; response_ = null; } clusterTopologyBuilder_.clear(); } return this; } /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ public io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.Builder getClusterTopologyBuilder() { return getClusterTopologyFieldBuilder().getBuilder(); } /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopologyOrBuilder getClusterTopologyOrBuilder() { if ((responseCase_ == 3) && (clusterTopologyBuilder_ != null)) { return clusterTopologyBuilder_.getMessageOrBuilder(); } else { if (responseCase_ == 3) { return (io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology) response_; } return io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.getDefaultInstance(); } } /** * .topology_protocol.ClusterTopology clusterTopology = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology, io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.Builder, io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopologyOrBuilder> getClusterTopologyFieldBuilder() { if (clusterTopologyBuilder_ == null) { if (!(responseCase_ == 3)) { response_ = io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.getDefaultInstance(); } clusterTopologyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology, io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology.Builder, io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopologyOrBuilder>( (io.camunda.zeebe.dynamic.config.protocol.Topology.ClusterTopology) response_, getParentForChildren(), isClean()); response_ = null; } responseCase_ = 3; onChanged(); return clusterTopologyBuilder_; } @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:topology_requests.Response) } // @@protoc_insertion_point(class_scope:topology_requests.Response) private static final io.camunda.zeebe.dynamic.config.protocol.Requests.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.Response(); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.Response getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Response parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ErrorResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:topology_requests.ErrorResponse) com.google.protobuf.MessageOrBuilder { /** * .topology_requests.ErrorCode errorCode = 1; * @return The enum numeric value on the wire for errorCode. */ int getErrorCodeValue(); /** * .topology_requests.ErrorCode errorCode = 1; * @return The errorCode. */ io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode getErrorCode(); /** * string errorMessage = 2; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** * string errorMessage = 2; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); } /** * Protobuf type {@code topology_requests.ErrorResponse} */ public static final class ErrorResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:topology_requests.ErrorResponse) ErrorResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ErrorResponse.newBuilder() to construct. private ErrorResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ErrorResponse() { errorCode_ = 0; errorMessage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ErrorResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ErrorResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ErrorResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.Builder.class); } public static final int ERRORCODE_FIELD_NUMBER = 1; private int errorCode_ = 0; /** * .topology_requests.ErrorCode errorCode = 1; * @return The enum numeric value on the wire for errorCode. */ @java.lang.Override public int getErrorCodeValue() { return errorCode_; } /** * .topology_requests.ErrorCode errorCode = 1; * @return The errorCode. */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode getErrorCode() { io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode result = io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode.forNumber(errorCode_); return result == null ? io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode.UNRECOGNIZED : result; } public static final int ERRORMESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** * string errorMessage = 2; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** * string errorMessage = 2; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (errorCode_ != io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode.INVALID_REQUEST.getNumber()) { output.writeEnum(1, errorCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (errorCode_ != io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode.INVALID_REQUEST.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, errorCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse)) { return super.equals(obj); } io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse other = (io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) obj; if (errorCode_ != other.errorCode_) return false; if (!getErrorMessage() .equals(other.getErrorMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ERRORCODE_FIELD_NUMBER; hash = (53 * hash) + errorCode_; hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse 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 io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse 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(io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse 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 topology_requests.ErrorResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:topology_requests.ErrorResponse) io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ErrorResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ErrorResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.class, io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.Builder.class); } // Construct using io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; errorCode_ = 0; errorMessage_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.internal_static_topology_requests_ErrorResponse_descriptor; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse getDefaultInstanceForType() { return io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance(); } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse build() { io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse buildPartial() { io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse result = new io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.errorCode_ = errorCode_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.errorMessage_ = errorMessage_; } } @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 io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse) { return mergeFrom((io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse other) { if (other == io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse.getDefaultInstance()) return this; if (other.errorCode_ != 0) { setErrorCodeValue(other.getErrorCodeValue()); } if (!other.getErrorMessage().isEmpty()) { errorMessage_ = other.errorMessage_; bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { errorCode_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { errorMessage_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int errorCode_ = 0; /** * .topology_requests.ErrorCode errorCode = 1; * @return The enum numeric value on the wire for errorCode. */ @java.lang.Override public int getErrorCodeValue() { return errorCode_; } /** * .topology_requests.ErrorCode errorCode = 1; * @param value The enum numeric value on the wire for errorCode to set. * @return This builder for chaining. */ public Builder setErrorCodeValue(int value) { errorCode_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * .topology_requests.ErrorCode errorCode = 1; * @return The errorCode. */ @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode getErrorCode() { io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode result = io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode.forNumber(errorCode_); return result == null ? io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode.UNRECOGNIZED : result; } /** * .topology_requests.ErrorCode errorCode = 1; * @param value The errorCode to set. * @return This builder for chaining. */ public Builder setErrorCode(io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorCode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; errorCode_ = value.getNumber(); onChanged(); return this; } /** * .topology_requests.ErrorCode errorCode = 1; * @return This builder for chaining. */ public Builder clearErrorCode() { bitField0_ = (bitField0_ & ~0x00000001); errorCode_ = 0; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** * string errorMessage = 2; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** * string errorMessage = 2; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string errorMessage = 2; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string errorMessage = 2; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string errorMessage = 2; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; bitField0_ |= 0x00000002; 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:topology_requests.ErrorResponse) } // @@protoc_insertion_point(class_scope:topology_requests.ErrorResponse) private static final io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse(); } public static io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ErrorResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.camunda.zeebe.dynamic.config.protocol.Requests.ErrorResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_AddMembersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_AddMembersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_RemoveMembersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_RemoveMembersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_JoinPartitionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_JoinPartitionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_LeavePartitionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_LeavePartitionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_BrokerScaleRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_BrokerScaleRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_ClusterScaleRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_ClusterScaleRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_ClusterPatchRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_ClusterPatchRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_ForceRemoveBrokersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_ForceRemoveBrokersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_ReassignAllPartitionsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_ReassignAllPartitionsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_ExporterDisableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_ExporterDisableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_ExporterEnableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_ExporterEnableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_CancelTopologyChangeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_CancelTopologyChangeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_TopologyChangeResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_TopologyChangeResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_TopologyChangeResponse_CurrentTopologyEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_TopologyChangeResponse_CurrentTopologyEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_TopologyChangeResponse_ExpectedTopologyEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_TopologyChangeResponse_ExpectedTopologyEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_Response_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_Response_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_topology_requests_ErrorResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_topology_requests_ErrorResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\016requests.proto\022\021topology_requests\032\016top" + "ology.proto\"6\n\021AddMembersRequest\022\021\n\tmemb" + "erIds\030\001 \003(\t\022\016\n\006dryRun\030\002 \001(\010\"9\n\024RemoveMem" + "bersRequest\022\021\n\tmemberIds\030\001 \003(\t\022\016\n\006dryRun" + "\030\002 \001(\010\"_\n\024JoinPartitionRequest\022\020\n\010member" + "Id\030\001 \001(\t\022\023\n\013partitionId\030\002 \001(\005\022\020\n\010priorit" + "y\030\003 \001(\005\022\016\n\006dryRun\030\004 \001(\010\"N\n\025LeavePartitio" + "nRequest\022\020\n\010memberId\030\001 \001(\t\022\023\n\013partitionI" + "d\030\002 \001(\005\022\016\n\006dryRun\030\003 \001(\010\"s\n\022BrokerScaleRe" + "quest\022\021\n\tmemberIds\030\001 \003(\t\022\016\n\006dryRun\030\002 \001(\010" + "\022!\n\024newReplicationFactor\030\003 \001(\rH\000\210\001\001B\027\n\025_" + "newReplicationFactor\"\307\001\n\023ClusterScaleReq" + "uest\022\033\n\016newClusterSize\030\001 \001(\rH\000\210\001\001\022\036\n\021new" + "PartitionCount\030\002 \001(\rH\001\210\001\001\022!\n\024newReplicat" + "ionFactor\030\003 \001(\rH\002\210\001\001\022\016\n\006dryRun\030\004 \001(\010B\021\n\017" + "_newClusterSizeB\024\n\022_newPartitionCountB\027\n" + "\025_newReplicationFactor\"\306\001\n\023ClusterPatchR" + "equest\022\024\n\014membersToAdd\030\001 \003(\t\022\027\n\017membersT" + "oRemove\030\002 \003(\t\022\036\n\021newPartitionCount\030\003 \001(\r" + "H\000\210\001\001\022!\n\024newReplicationFactor\030\004 \001(\rH\001\210\001\001" + "\022\016\n\006dryRun\030\005 \001(\010B\024\n\022_newPartitionCountB\027" + "\n\025_newReplicationFactor\"D\n\031ForceRemoveBr" + "okersRequest\022\027\n\017membersToRemove\030\001 \003(\t\022\016\n" + "\006dryRun\030\002 \001(\010\"A\n\034ReassignAllPartitionsRe" + "quest\022\021\n\tmemberIds\030\001 \003(\t\022\016\n\006dryRun\030\002 \001(\010" + "\"<\n\026ExporterDisableRequest\022\022\n\nexporterId" + "\030\001 \001(\t\022\016\n\006dryRun\030\002 \001(\010\"k\n\025ExporterEnable" + "Request\022\022\n\nexporterId\030\001 \001(\t\022\033\n\016initializ" + "eFrom\030\002 \001(\tH\000\210\001\001\022\016\n\006dryRun\030\003 \001(\010B\021\n\017_ini" + "tializeFrom\"/\n\033CancelTopologyChangeReque" + "st\022\020\n\010changeId\030\001 \001(\003\"\323\003\n\026TopologyChangeR" + "esponse\022\020\n\010changeId\030\001 \001(\003\022W\n\017currentTopo" + "logy\030\002 \003(\0132>.topology_requests.TopologyC" + "hangeResponse.CurrentTopologyEntry\022Y\n\020ex" + "pectedTopology\030\003 \003(\0132?.topology_requests" + ".TopologyChangeResponse.ExpectedTopology" + "Entry\022B\n\016plannedChanges\030\004 \003(\0132*.topology" + "_protocol.TopologyChangeOperation\032V\n\024Cur" + "rentTopologyEntry\022\013\n\003key\030\001 \001(\t\022-\n\005value\030" + "\002 \001(\0132\036.topology_protocol.MemberState:\0028" + "\001\032W\n\025ExpectedTopologyEntry\022\013\n\003key\030\001 \001(\t\022" + "-\n\005value\030\002 \001(\0132\036.topology_protocol.Membe" + "rState:\0028\001\"\325\001\n\010Response\0221\n\005error\030\001 \001(\0132 " + ".topology_requests.ErrorResponseH\000\022K\n\026to" + "pologyChangeResponse\030\002 \001(\0132).topology_re" + "quests.TopologyChangeResponseH\000\022=\n\017clust" + "erTopology\030\003 \001(\0132\".topology_protocol.Clu" + "sterTopologyH\000B\n\n\010response\"V\n\rErrorRespo" + "nse\022/\n\terrorCode\030\001 \001(\0162\034.topology_reques" + "ts.ErrorCode\022\024\n\014errorMessage\030\002 \001(\t*l\n\tEr" + "rorCode\022\023\n\017INVALID_REQUEST\020\000\022\031\n\025OPERATIO" + "N_NOT_ALLOWED\020\001\022\033\n\027CONCURRENT_MODIFICATI" + "ON\020\002\022\022\n\016INTERNAL_ERROR\020\003B*\n(io.camunda.z" + "eebe.dynamic.config.protocolb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { io.camunda.zeebe.dynamic.config.protocol.Topology.getDescriptor(), }); internal_static_topology_requests_AddMembersRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_topology_requests_AddMembersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_AddMembersRequest_descriptor, new java.lang.String[] { "MemberIds", "DryRun", }); internal_static_topology_requests_RemoveMembersRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_topology_requests_RemoveMembersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_RemoveMembersRequest_descriptor, new java.lang.String[] { "MemberIds", "DryRun", }); internal_static_topology_requests_JoinPartitionRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_topology_requests_JoinPartitionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_JoinPartitionRequest_descriptor, new java.lang.String[] { "MemberId", "PartitionId", "Priority", "DryRun", }); internal_static_topology_requests_LeavePartitionRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_topology_requests_LeavePartitionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_LeavePartitionRequest_descriptor, new java.lang.String[] { "MemberId", "PartitionId", "DryRun", }); internal_static_topology_requests_BrokerScaleRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_topology_requests_BrokerScaleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_BrokerScaleRequest_descriptor, new java.lang.String[] { "MemberIds", "DryRun", "NewReplicationFactor", }); internal_static_topology_requests_ClusterScaleRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_topology_requests_ClusterScaleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_ClusterScaleRequest_descriptor, new java.lang.String[] { "NewClusterSize", "NewPartitionCount", "NewReplicationFactor", "DryRun", }); internal_static_topology_requests_ClusterPatchRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_topology_requests_ClusterPatchRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_ClusterPatchRequest_descriptor, new java.lang.String[] { "MembersToAdd", "MembersToRemove", "NewPartitionCount", "NewReplicationFactor", "DryRun", }); internal_static_topology_requests_ForceRemoveBrokersRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_topology_requests_ForceRemoveBrokersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_ForceRemoveBrokersRequest_descriptor, new java.lang.String[] { "MembersToRemove", "DryRun", }); internal_static_topology_requests_ReassignAllPartitionsRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_topology_requests_ReassignAllPartitionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_ReassignAllPartitionsRequest_descriptor, new java.lang.String[] { "MemberIds", "DryRun", }); internal_static_topology_requests_ExporterDisableRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_topology_requests_ExporterDisableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_ExporterDisableRequest_descriptor, new java.lang.String[] { "ExporterId", "DryRun", }); internal_static_topology_requests_ExporterEnableRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_topology_requests_ExporterEnableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_ExporterEnableRequest_descriptor, new java.lang.String[] { "ExporterId", "InitializeFrom", "DryRun", }); internal_static_topology_requests_CancelTopologyChangeRequest_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_topology_requests_CancelTopologyChangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_CancelTopologyChangeRequest_descriptor, new java.lang.String[] { "ChangeId", }); internal_static_topology_requests_TopologyChangeResponse_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_topology_requests_TopologyChangeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_TopologyChangeResponse_descriptor, new java.lang.String[] { "ChangeId", "CurrentTopology", "ExpectedTopology", "PlannedChanges", }); internal_static_topology_requests_TopologyChangeResponse_CurrentTopologyEntry_descriptor = internal_static_topology_requests_TopologyChangeResponse_descriptor.getNestedTypes().get(0); internal_static_topology_requests_TopologyChangeResponse_CurrentTopologyEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_TopologyChangeResponse_CurrentTopologyEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_topology_requests_TopologyChangeResponse_ExpectedTopologyEntry_descriptor = internal_static_topology_requests_TopologyChangeResponse_descriptor.getNestedTypes().get(1); internal_static_topology_requests_TopologyChangeResponse_ExpectedTopologyEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_TopologyChangeResponse_ExpectedTopologyEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_topology_requests_Response_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_topology_requests_Response_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_Response_descriptor, new java.lang.String[] { "Error", "TopologyChangeResponse", "ClusterTopology", "Response", }); internal_static_topology_requests_ErrorResponse_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_topology_requests_ErrorResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_topology_requests_ErrorResponse_descriptor, new java.lang.String[] { "ErrorCode", "ErrorMessage", }); io.camunda.zeebe.dynamic.config.protocol.Topology.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy