tech.ydb.proto.federation.discovery.FederationDiscoveryProtos Maven / Gradle / Ivy
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: protos/ydb_federation_discovery.proto
package tech.ydb.proto.federation.discovery;
public final class FederationDiscoveryProtos {
  private FederationDiscoveryProtos() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface DatabaseInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.FederationDiscovery.DatabaseInfo)
      com.google.protobuf.MessageOrBuilder {
    /**
     * string name = 1;
     * @return The name.
     */
    java.lang.String getName();
    /**
     * string name = 1;
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();
    /**
     * string path = 2;
     * @return The path.
     */
    java.lang.String getPath();
    /**
     * string path = 2;
     * @return The bytes for path.
     */
    com.google.protobuf.ByteString
        getPathBytes();
    /**
     * string id = 3;
     * @return The id.
     */
    java.lang.String getId();
    /**
     * string id = 3;
     * @return The bytes for id.
     */
    com.google.protobuf.ByteString
        getIdBytes();
    /**
     * string endpoint = 4;
     * @return The endpoint.
     */
    java.lang.String getEndpoint();
    /**
     * string endpoint = 4;
     * @return The bytes for endpoint.
     */
    com.google.protobuf.ByteString
        getEndpointBytes();
    /**
     * 
     * for single datacenter databases
     * 
     *
     * string location = 5;
     * @return The location.
     */
    java.lang.String getLocation();
    /**
     * 
     * for single datacenter databases
     * 
     *
     * string location = 5;
     * @return The bytes for location.
     */
    com.google.protobuf.ByteString
        getLocationBytes();
    /**
     * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
     * @return The enum numeric value on the wire for status.
     */
    int getStatusValue();
    /**
     * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
     * @return The status.
     */
    tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status getStatus();
    /**
     * 
     * to determine this database priority on the client side
     * 
     *
     * int64 weight = 7;
     * @return The weight.
     */
    long getWeight();
  }
  /**
   * Protobuf type {@code Ydb.FederationDiscovery.DatabaseInfo}
   */
  public static final class DatabaseInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Ydb.FederationDiscovery.DatabaseInfo)
      DatabaseInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DatabaseInfo.newBuilder() to construct.
    private DatabaseInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private DatabaseInfo() {
      name_ = "";
      path_ = "";
      id_ = "";
      endpoint_ = "";
      location_ = "";
      status_ = 0;
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new DatabaseInfo();
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_DatabaseInfo_descriptor;
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_DatabaseInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.class, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder.class);
    }
    /**
     * Protobuf enum {@code Ydb.FederationDiscovery.DatabaseInfo.Status}
     */
    public enum Status
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * STATUS_UNSPECIFIED = 0;
       */
      STATUS_UNSPECIFIED(0),
      /**
       * AVAILABLE = 1;
       */
      AVAILABLE(1),
      /**
       * READ_ONLY = 2;
       */
      READ_ONLY(2),
      /**
       * UNAVAILABLE = 3;
       */
      UNAVAILABLE(3),
      UNRECOGNIZED(-1),
      ;
      /**
       * STATUS_UNSPECIFIED = 0;
       */
      public static final int STATUS_UNSPECIFIED_VALUE = 0;
      /**
       * AVAILABLE = 1;
       */
      public static final int AVAILABLE_VALUE = 1;
      /**
       * READ_ONLY = 2;
       */
      public static final int READ_ONLY_VALUE = 2;
      /**
       * UNAVAILABLE = 3;
       */
      public static final int UNAVAILABLE_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 Status 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 Status forNumber(int value) {
        switch (value) {
          case 0: return STATUS_UNSPECIFIED;
          case 1: return AVAILABLE;
          case 2: return READ_ONLY;
          case 3: return UNAVAILABLE;
          default: return null;
        }
      }
      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Status> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public Status findValueByNumber(int number) {
                return Status.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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.getDescriptor().getEnumTypes().get(0);
      }
      private static final Status[] VALUES = values();
      public static Status 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 Status(int value) {
        this.value = value;
      }
      // @@protoc_insertion_point(enum_scope:Ydb.FederationDiscovery.DatabaseInfo.Status)
    }
    public static final int NAME_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object name_ = "";
    /**
     * string name = 1;
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      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();
        name_ = s;
        return s;
      }
    }
    /**
     * string name = 1;
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int PATH_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private volatile java.lang.Object path_ = "";
    /**
     * string path = 2;
     * @return The path.
     */
    @java.lang.Override
    public java.lang.String getPath() {
      java.lang.Object ref = path_;
      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();
        path_ = s;
        return s;
      }
    }
    /**
     * string path = 2;
     * @return The bytes for path.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPathBytes() {
      java.lang.Object ref = path_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        path_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int ID_FIELD_NUMBER = 3;
    @SuppressWarnings("serial")
    private volatile java.lang.Object id_ = "";
    /**
     * string id = 3;
     * @return The id.
     */
    @java.lang.Override
    public java.lang.String getId() {
      java.lang.Object ref = id_;
      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();
        id_ = s;
        return s;
      }
    }
    /**
     * string id = 3;
     * @return The bytes for id.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getIdBytes() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        id_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int ENDPOINT_FIELD_NUMBER = 4;
    @SuppressWarnings("serial")
    private volatile java.lang.Object endpoint_ = "";
    /**
     * string endpoint = 4;
     * @return The endpoint.
     */
    @java.lang.Override
    public java.lang.String getEndpoint() {
      java.lang.Object ref = endpoint_;
      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();
        endpoint_ = s;
        return s;
      }
    }
    /**
     * string endpoint = 4;
     * @return The bytes for endpoint.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getEndpointBytes() {
      java.lang.Object ref = endpoint_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        endpoint_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int LOCATION_FIELD_NUMBER = 5;
    @SuppressWarnings("serial")
    private volatile java.lang.Object location_ = "";
    /**
     * 
     * for single datacenter databases
     * 
     *
     * string location = 5;
     * @return The location.
     */
    @java.lang.Override
    public java.lang.String getLocation() {
      java.lang.Object ref = location_;
      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();
        location_ = s;
        return s;
      }
    }
    /**
     * 
     * for single datacenter databases
     * 
     *
     * string location = 5;
     * @return The bytes for location.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLocationBytes() {
      java.lang.Object ref = location_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        location_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int STATUS_FIELD_NUMBER = 6;
    private int status_ = 0;
    /**
     * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
     * @return The enum numeric value on the wire for status.
     */
    @java.lang.Override public int getStatusValue() {
      return status_;
    }
    /**
     * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
     * @return The status.
     */
    @java.lang.Override public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status getStatus() {
      tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status result = tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status.forNumber(status_);
      return result == null ? tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status.UNRECOGNIZED : result;
    }
    public static final int WEIGHT_FIELD_NUMBER = 7;
    private long weight_ = 0L;
    /**
     * 
     * to determine this database priority on the client side
     * 
     *
     * int64 weight = 7;
     * @return The weight.
     */
    @java.lang.Override
    public long getWeight() {
      return weight_;
    }
    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(name_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, id_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, endpoint_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, location_);
      }
      if (status_ != tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status.STATUS_UNSPECIFIED.getNumber()) {
        output.writeEnum(6, status_);
      }
      if (weight_ != 0L) {
        output.writeInt64(7, weight_);
      }
      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(name_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, id_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, endpoint_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, location_);
      }
      if (status_ != tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status.STATUS_UNSPECIFIED.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(6, status_);
      }
      if (weight_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(7, weight_);
      }
      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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo)) {
        return super.equals(obj);
      }
      tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo other = (tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo) obj;
      if (!getName()
          .equals(other.getName())) return false;
      if (!getPath()
          .equals(other.getPath())) return false;
      if (!getId()
          .equals(other.getId())) return false;
      if (!getEndpoint()
          .equals(other.getEndpoint())) return false;
      if (!getLocation()
          .equals(other.getLocation())) return false;
      if (status_ != other.status_) return false;
      if (getWeight()
          != other.getWeight()) 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) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + PATH_FIELD_NUMBER;
      hash = (53 * hash) + getPath().hashCode();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId().hashCode();
      hash = (37 * hash) + ENDPOINT_FIELD_NUMBER;
      hash = (53 * hash) + getEndpoint().hashCode();
      hash = (37 * hash) + LOCATION_FIELD_NUMBER;
      hash = (53 * hash) + getLocation().hashCode();
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + status_;
      hash = (37 * hash) + WEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getWeight());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo 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(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo 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 Ydb.FederationDiscovery.DatabaseInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:Ydb.FederationDiscovery.DatabaseInfo)
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_DatabaseInfo_descriptor;
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_DatabaseInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.class, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder.class);
      }
      // Construct using tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.newBuilder()
      private Builder() {
      }
      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        name_ = "";
        path_ = "";
        id_ = "";
        endpoint_ = "";
        location_ = "";
        status_ = 0;
        weight_ = 0L;
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_DatabaseInfo_descriptor;
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo getDefaultInstanceForType() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.getDefaultInstance();
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo build() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo buildPartial() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo result = new tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }
      private void buildPartial0(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.name_ = name_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.path_ = path_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.id_ = id_;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.endpoint_ = endpoint_;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.location_ = location_;
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          result.status_ = status_;
        }
        if (((from_bitField0_ & 0x00000040) != 0)) {
          result.weight_ = weight_;
        }
      }
      @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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo) {
          return mergeFrom((tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo other) {
        if (other == tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (!other.getPath().isEmpty()) {
          path_ = other.path_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (!other.getId().isEmpty()) {
          id_ = other.id_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        if (!other.getEndpoint().isEmpty()) {
          endpoint_ = other.endpoint_;
          bitField0_ |= 0x00000008;
          onChanged();
        }
        if (!other.getLocation().isEmpty()) {
          location_ = other.location_;
          bitField0_ |= 0x00000010;
          onChanged();
        }
        if (other.status_ != 0) {
          setStatusValue(other.getStatusValue());
        }
        if (other.getWeight() != 0L) {
          setWeight(other.getWeight());
        }
        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: {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                path_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                id_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              case 34: {
                endpoint_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000008;
                break;
              } // case 34
              case 42: {
                location_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000010;
                break;
              } // case 42
              case 48: {
                status_ = input.readEnum();
                bitField0_ |= 0x00000020;
                break;
              } // case 48
              case 56: {
                weight_ = input.readInt64();
                bitField0_ |= 0x00000040;
                break;
              } // case 56
              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 name_ = "";
      /**
       * string name = 1;
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string name = 1;
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string name = 1;
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        name_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * string name = 1;
       * @return This builder for chaining.
       */
      public Builder clearName() {
        name_ = getDefaultInstance().getName();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * string name = 1;
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        name_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      private java.lang.Object path_ = "";
      /**
       * string path = 2;
       * @return The path.
       */
      public java.lang.String getPath() {
        java.lang.Object ref = path_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          path_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string path = 2;
       * @return The bytes for path.
       */
      public com.google.protobuf.ByteString
          getPathBytes() {
        java.lang.Object ref = path_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          path_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string path = 2;
       * @param value The path to set.
       * @return This builder for chaining.
       */
      public Builder setPath(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        path_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * string path = 2;
       * @return This builder for chaining.
       */
      public Builder clearPath() {
        path_ = getDefaultInstance().getPath();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * string path = 2;
       * @param value The bytes for path to set.
       * @return This builder for chaining.
       */
      public Builder setPathBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        path_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      private java.lang.Object id_ = "";
      /**
       * string id = 3;
       * @return The id.
       */
      public java.lang.String getId() {
        java.lang.Object ref = id_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          id_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string id = 3;
       * @return The bytes for id.
       */
      public com.google.protobuf.ByteString
          getIdBytes() {
        java.lang.Object ref = id_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          id_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string id = 3;
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        id_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * string id = 3;
       * @return This builder for chaining.
       */
      public Builder clearId() {
        id_ = getDefaultInstance().getId();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * string id = 3;
       * @param value The bytes for id to set.
       * @return This builder for chaining.
       */
      public Builder setIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        id_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      private java.lang.Object endpoint_ = "";
      /**
       * string endpoint = 4;
       * @return The endpoint.
       */
      public java.lang.String getEndpoint() {
        java.lang.Object ref = endpoint_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          endpoint_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string endpoint = 4;
       * @return The bytes for endpoint.
       */
      public com.google.protobuf.ByteString
          getEndpointBytes() {
        java.lang.Object ref = endpoint_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          endpoint_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string endpoint = 4;
       * @param value The endpoint to set.
       * @return This builder for chaining.
       */
      public Builder setEndpoint(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        endpoint_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * string endpoint = 4;
       * @return This builder for chaining.
       */
      public Builder clearEndpoint() {
        endpoint_ = getDefaultInstance().getEndpoint();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       * string endpoint = 4;
       * @param value The bytes for endpoint to set.
       * @return This builder for chaining.
       */
      public Builder setEndpointBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        endpoint_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      private java.lang.Object location_ = "";
      /**
       * 
       * for single datacenter databases
       * 
       *
       * string location = 5;
       * @return The location.
       */
      public java.lang.String getLocation() {
        java.lang.Object ref = location_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          location_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * for single datacenter databases
       * 
       *
       * string location = 5;
       * @return The bytes for location.
       */
      public com.google.protobuf.ByteString
          getLocationBytes() {
        java.lang.Object ref = location_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          location_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * for single datacenter databases
       * 
       *
       * string location = 5;
       * @param value The location to set.
       * @return This builder for chaining.
       */
      public Builder setLocation(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        location_ = value;
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * 
       * for single datacenter databases
       * 
       *
       * string location = 5;
       * @return This builder for chaining.
       */
      public Builder clearLocation() {
        location_ = getDefaultInstance().getLocation();
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
        return this;
      }
      /**
       * 
       * for single datacenter databases
       * 
       *
       * string location = 5;
       * @param value The bytes for location to set.
       * @return This builder for chaining.
       */
      public Builder setLocationBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        location_ = value;
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      private int status_ = 0;
      /**
       * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
       * @return The enum numeric value on the wire for status.
       */
      @java.lang.Override public int getStatusValue() {
        return status_;
      }
      /**
       * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
       * @param value The enum numeric value on the wire for status to set.
       * @return This builder for chaining.
       */
      public Builder setStatusValue(int value) {
        status_ = value;
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
       * @return The status.
       */
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status getStatus() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status result = tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status.forNumber(status_);
        return result == null ? tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status.UNRECOGNIZED : result;
      }
      /**
       * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
       * @param value The status to set.
       * @return This builder for chaining.
       */
      public Builder setStatus(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Status value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000020;
        status_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .Ydb.FederationDiscovery.DatabaseInfo.Status status = 6;
       * @return This builder for chaining.
       */
      public Builder clearStatus() {
        bitField0_ = (bitField0_ & ~0x00000020);
        status_ = 0;
        onChanged();
        return this;
      }
      private long weight_ ;
      /**
       * 
       * to determine this database priority on the client side
       * 
       *
       * int64 weight = 7;
       * @return The weight.
       */
      @java.lang.Override
      public long getWeight() {
        return weight_;
      }
      /**
       * 
       * to determine this database priority on the client side
       * 
       *
       * int64 weight = 7;
       * @param value The weight to set.
       * @return This builder for chaining.
       */
      public Builder setWeight(long value) {
        weight_ = value;
        bitField0_ |= 0x00000040;
        onChanged();
        return this;
      }
      /**
       * 
       * to determine this database priority on the client side
       * 
       *
       * int64 weight = 7;
       * @return This builder for chaining.
       */
      public Builder clearWeight() {
        bitField0_ = (bitField0_ & ~0x00000040);
        weight_ = 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:Ydb.FederationDiscovery.DatabaseInfo)
    }
    // @@protoc_insertion_point(class_scope:Ydb.FederationDiscovery.DatabaseInfo)
    private static final tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo();
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public DatabaseInfo 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  public interface ListFederationDatabasesRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.FederationDiscovery.ListFederationDatabasesRequest)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code Ydb.FederationDiscovery.ListFederationDatabasesRequest}
   */
  public static final class ListFederationDatabasesRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Ydb.FederationDiscovery.ListFederationDatabasesRequest)
      ListFederationDatabasesRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ListFederationDatabasesRequest.newBuilder() to construct.
    private ListFederationDatabasesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private ListFederationDatabasesRequest() {
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ListFederationDatabasesRequest();
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_descriptor;
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest.class, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest.Builder.class);
    }
    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 {
      getUnknownFields().writeTo(output);
    }
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;
      size = 0;
      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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest)) {
        return super.equals(obj);
      }
      tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest other = (tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest) obj;
      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 = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest 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(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest 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 Ydb.FederationDiscovery.ListFederationDatabasesRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:Ydb.FederationDiscovery.ListFederationDatabasesRequest)
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_descriptor;
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest.class, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest.Builder.class);
      }
      // Construct using tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest.newBuilder()
      private Builder() {
      }
      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_descriptor;
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest getDefaultInstanceForType() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest.getDefaultInstance();
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest build() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest buildPartial() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest result = new tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest(this);
        onBuilt();
        return result;
      }
      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest) {
          return mergeFrom((tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest other) {
        if (other == tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest.getDefaultInstance()) return this;
        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;
              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;
      }
      @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:Ydb.FederationDiscovery.ListFederationDatabasesRequest)
    }
    // @@protoc_insertion_point(class_scope:Ydb.FederationDiscovery.ListFederationDatabasesRequest)
    private static final tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest();
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ListFederationDatabasesRequest 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  public interface ListFederationDatabasesResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.FederationDiscovery.ListFederationDatabasesResponse)
      com.google.protobuf.MessageOrBuilder {
    /**
     * 
     * Operation contains the result of the request. Check the ydb_operation.proto.
     * 
     *
     * .Ydb.Operations.Operation operation = 1;
     * @return Whether the operation field is set.
     */
    boolean hasOperation();
    /**
     * 
     * Operation contains the result of the request. Check the ydb_operation.proto.
     * 
     *
     * .Ydb.Operations.Operation operation = 1;
     * @return The operation.
     */
    tech.ydb.proto.OperationProtos.Operation getOperation();
    /**
     * 
     * Operation contains the result of the request. Check the ydb_operation.proto.
     * 
     *
     * .Ydb.Operations.Operation operation = 1;
     */
    tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder();
  }
  /**
   * Protobuf type {@code Ydb.FederationDiscovery.ListFederationDatabasesResponse}
   */
  public static final class ListFederationDatabasesResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Ydb.FederationDiscovery.ListFederationDatabasesResponse)
      ListFederationDatabasesResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ListFederationDatabasesResponse.newBuilder() to construct.
    private ListFederationDatabasesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private ListFederationDatabasesResponse() {
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ListFederationDatabasesResponse();
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_descriptor;
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse.class, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse.Builder.class);
    }
    private int bitField0_;
    public static final int OPERATION_FIELD_NUMBER = 1;
    private tech.ydb.proto.OperationProtos.Operation operation_;
    /**
     * 
     * Operation contains the result of the request. Check the ydb_operation.proto.
     * 
     *
     * .Ydb.Operations.Operation operation = 1;
     * @return Whether the operation field is set.
     */
    @java.lang.Override
    public boolean hasOperation() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * 
     * Operation contains the result of the request. Check the ydb_operation.proto.
     * 
     *
     * .Ydb.Operations.Operation operation = 1;
     * @return The operation.
     */
    @java.lang.Override
    public tech.ydb.proto.OperationProtos.Operation getOperation() {
      return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
    }
    /**
     * 
     * Operation contains the result of the request. Check the ydb_operation.proto.
     * 
     *
     * .Ydb.Operations.Operation operation = 1;
     */
    @java.lang.Override
    public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
      return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
    }
    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.writeMessage(1, getOperation());
      }
      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
          .computeMessageSize(1, getOperation());
      }
      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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse)) {
        return super.equals(obj);
      }
      tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse other = (tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse) obj;
      if (hasOperation() != other.hasOperation()) return false;
      if (hasOperation()) {
        if (!getOperation()
            .equals(other.getOperation())) 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 (hasOperation()) {
        hash = (37 * hash) + OPERATION_FIELD_NUMBER;
        hash = (53 * hash) + getOperation().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse 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(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse 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 Ydb.FederationDiscovery.ListFederationDatabasesResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:Ydb.FederationDiscovery.ListFederationDatabasesResponse)
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_descriptor;
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse.class, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse.Builder.class);
      }
      // Construct using tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }
      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getOperationFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        operation_ = null;
        if (operationBuilder_ != null) {
          operationBuilder_.dispose();
          operationBuilder_ = null;
        }
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_descriptor;
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse getDefaultInstanceForType() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse.getDefaultInstance();
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse build() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse buildPartial() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse result = new tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }
      private void buildPartial0(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.operation_ = operationBuilder_ == null
              ? operation_
              : operationBuilder_.build();
          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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse) {
          return mergeFrom((tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse other) {
        if (other == tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse.getDefaultInstance()) return this;
        if (other.hasOperation()) {
          mergeOperation(other.getOperation());
        }
        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(
                    getOperationFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              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 tech.ydb.proto.OperationProtos.Operation operation_;
      private com.google.protobuf.SingleFieldBuilderV3<
          tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> operationBuilder_;
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       * @return Whether the operation field is set.
       */
      public boolean hasOperation() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       * @return The operation.
       */
      public tech.ydb.proto.OperationProtos.Operation getOperation() {
        if (operationBuilder_ == null) {
          return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
        } else {
          return operationBuilder_.getMessage();
        }
      }
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       */
      public Builder setOperation(tech.ydb.proto.OperationProtos.Operation value) {
        if (operationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          operation_ = value;
        } else {
          operationBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       */
      public Builder setOperation(
          tech.ydb.proto.OperationProtos.Operation.Builder builderForValue) {
        if (operationBuilder_ == null) {
          operation_ = builderForValue.build();
        } else {
          operationBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       */
      public Builder mergeOperation(tech.ydb.proto.OperationProtos.Operation value) {
        if (operationBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            operation_ != null &&
            operation_ != tech.ydb.proto.OperationProtos.Operation.getDefaultInstance()) {
            getOperationBuilder().mergeFrom(value);
          } else {
            operation_ = value;
          }
        } else {
          operationBuilder_.mergeFrom(value);
        }
        if (operation_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       */
      public Builder clearOperation() {
        bitField0_ = (bitField0_ & ~0x00000001);
        operation_ = null;
        if (operationBuilder_ != null) {
          operationBuilder_.dispose();
          operationBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       */
      public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getOperationFieldBuilder().getBuilder();
      }
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       */
      public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
        if (operationBuilder_ != null) {
          return operationBuilder_.getMessageOrBuilder();
        } else {
          return operation_ == null ?
              tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
        }
      }
      /**
       * 
       * Operation contains the result of the request. Check the ydb_operation.proto.
       * 
       *
       * .Ydb.Operations.Operation operation = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> 
          getOperationFieldBuilder() {
        if (operationBuilder_ == null) {
          operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>(
                  getOperation(),
                  getParentForChildren(),
                  isClean());
          operation_ = null;
        }
        return operationBuilder_;
      }
      @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:Ydb.FederationDiscovery.ListFederationDatabasesResponse)
    }
    // @@protoc_insertion_point(class_scope:Ydb.FederationDiscovery.ListFederationDatabasesResponse)
    private static final tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse();
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ListFederationDatabasesResponse 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  public interface ListFederationDatabasesResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.FederationDiscovery.ListFederationDatabasesResult)
      com.google.protobuf.MessageOrBuilder {
    /**
     * string control_plane_endpoint = 1;
     * @return The controlPlaneEndpoint.
     */
    java.lang.String getControlPlaneEndpoint();
    /**
     * string control_plane_endpoint = 1;
     * @return The bytes for controlPlaneEndpoint.
     */
    com.google.protobuf.ByteString
        getControlPlaneEndpointBytes();
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    java.util.List 
        getFederationDatabasesList();
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo getFederationDatabases(int index);
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    int getFederationDatabasesCount();
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    java.util.List extends tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder> 
        getFederationDatabasesOrBuilderList();
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder getFederationDatabasesOrBuilder(
        int index);
    /**
     * string self_location = 3;
     * @return The selfLocation.
     */
    java.lang.String getSelfLocation();
    /**
     * string self_location = 3;
     * @return The bytes for selfLocation.
     */
    com.google.protobuf.ByteString
        getSelfLocationBytes();
  }
  /**
   * Protobuf type {@code Ydb.FederationDiscovery.ListFederationDatabasesResult}
   */
  public static final class ListFederationDatabasesResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Ydb.FederationDiscovery.ListFederationDatabasesResult)
      ListFederationDatabasesResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ListFederationDatabasesResult.newBuilder() to construct.
    private ListFederationDatabasesResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private ListFederationDatabasesResult() {
      controlPlaneEndpoint_ = "";
      federationDatabases_ = java.util.Collections.emptyList();
      selfLocation_ = "";
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ListFederationDatabasesResult();
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_descriptor;
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult.class, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult.Builder.class);
    }
    public static final int CONTROL_PLANE_ENDPOINT_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object controlPlaneEndpoint_ = "";
    /**
     * string control_plane_endpoint = 1;
     * @return The controlPlaneEndpoint.
     */
    @java.lang.Override
    public java.lang.String getControlPlaneEndpoint() {
      java.lang.Object ref = controlPlaneEndpoint_;
      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();
        controlPlaneEndpoint_ = s;
        return s;
      }
    }
    /**
     * string control_plane_endpoint = 1;
     * @return The bytes for controlPlaneEndpoint.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getControlPlaneEndpointBytes() {
      java.lang.Object ref = controlPlaneEndpoint_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        controlPlaneEndpoint_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int FEDERATION_DATABASES_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private java.util.List federationDatabases_;
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    @java.lang.Override
    public java.util.List getFederationDatabasesList() {
      return federationDatabases_;
    }
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    @java.lang.Override
    public java.util.List extends tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder> 
        getFederationDatabasesOrBuilderList() {
      return federationDatabases_;
    }
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    @java.lang.Override
    public int getFederationDatabasesCount() {
      return federationDatabases_.size();
    }
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    @java.lang.Override
    public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo getFederationDatabases(int index) {
      return federationDatabases_.get(index);
    }
    /**
     * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
     */
    @java.lang.Override
    public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder getFederationDatabasesOrBuilder(
        int index) {
      return federationDatabases_.get(index);
    }
    public static final int SELF_LOCATION_FIELD_NUMBER = 3;
    @SuppressWarnings("serial")
    private volatile java.lang.Object selfLocation_ = "";
    /**
     * string self_location = 3;
     * @return The selfLocation.
     */
    @java.lang.Override
    public java.lang.String getSelfLocation() {
      java.lang.Object ref = selfLocation_;
      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();
        selfLocation_ = s;
        return s;
      }
    }
    /**
     * string self_location = 3;
     * @return The bytes for selfLocation.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getSelfLocationBytes() {
      java.lang.Object ref = selfLocation_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        selfLocation_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(controlPlaneEndpoint_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, controlPlaneEndpoint_);
      }
      for (int i = 0; i < federationDatabases_.size(); i++) {
        output.writeMessage(2, federationDatabases_.get(i));
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLocation_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, selfLocation_);
      }
      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(controlPlaneEndpoint_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, controlPlaneEndpoint_);
      }
      for (int i = 0; i < federationDatabases_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, federationDatabases_.get(i));
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLocation_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, selfLocation_);
      }
      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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult)) {
        return super.equals(obj);
      }
      tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult other = (tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult) obj;
      if (!getControlPlaneEndpoint()
          .equals(other.getControlPlaneEndpoint())) return false;
      if (!getFederationDatabasesList()
          .equals(other.getFederationDatabasesList())) return false;
      if (!getSelfLocation()
          .equals(other.getSelfLocation())) 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) + CONTROL_PLANE_ENDPOINT_FIELD_NUMBER;
      hash = (53 * hash) + getControlPlaneEndpoint().hashCode();
      if (getFederationDatabasesCount() > 0) {
        hash = (37 * hash) + FEDERATION_DATABASES_FIELD_NUMBER;
        hash = (53 * hash) + getFederationDatabasesList().hashCode();
      }
      hash = (37 * hash) + SELF_LOCATION_FIELD_NUMBER;
      hash = (53 * hash) + getSelfLocation().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult 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(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult 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 Ydb.FederationDiscovery.ListFederationDatabasesResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:Ydb.FederationDiscovery.ListFederationDatabasesResult)
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_descriptor;
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult.class, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult.Builder.class);
      }
      // Construct using tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult.newBuilder()
      private Builder() {
      }
      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        controlPlaneEndpoint_ = "";
        if (federationDatabasesBuilder_ == null) {
          federationDatabases_ = java.util.Collections.emptyList();
        } else {
          federationDatabases_ = null;
          federationDatabasesBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        selfLocation_ = "";
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_descriptor;
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult getDefaultInstanceForType() {
        return tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult.getDefaultInstance();
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult build() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult buildPartial() {
        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult result = new tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }
      private void buildPartialRepeatedFields(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult result) {
        if (federationDatabasesBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            federationDatabases_ = java.util.Collections.unmodifiableList(federationDatabases_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.federationDatabases_ = federationDatabases_;
        } else {
          result.federationDatabases_ = federationDatabasesBuilder_.build();
        }
      }
      private void buildPartial0(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.controlPlaneEndpoint_ = controlPlaneEndpoint_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.selfLocation_ = selfLocation_;
        }
      }
      @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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult) {
          return mergeFrom((tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult other) {
        if (other == tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult.getDefaultInstance()) return this;
        if (!other.getControlPlaneEndpoint().isEmpty()) {
          controlPlaneEndpoint_ = other.controlPlaneEndpoint_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (federationDatabasesBuilder_ == null) {
          if (!other.federationDatabases_.isEmpty()) {
            if (federationDatabases_.isEmpty()) {
              federationDatabases_ = other.federationDatabases_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureFederationDatabasesIsMutable();
              federationDatabases_.addAll(other.federationDatabases_);
            }
            onChanged();
          }
        } else {
          if (!other.federationDatabases_.isEmpty()) {
            if (federationDatabasesBuilder_.isEmpty()) {
              federationDatabasesBuilder_.dispose();
              federationDatabasesBuilder_ = null;
              federationDatabases_ = other.federationDatabases_;
              bitField0_ = (bitField0_ & ~0x00000002);
              federationDatabasesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getFederationDatabasesFieldBuilder() : null;
            } else {
              federationDatabasesBuilder_.addAllMessages(other.federationDatabases_);
            }
          }
        }
        if (!other.getSelfLocation().isEmpty()) {
          selfLocation_ = other.selfLocation_;
          bitField0_ |= 0x00000004;
          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 10: {
                controlPlaneEndpoint_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo m =
                    input.readMessage(
                        tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.parser(),
                        extensionRegistry);
                if (federationDatabasesBuilder_ == null) {
                  ensureFederationDatabasesIsMutable();
                  federationDatabases_.add(m);
                } else {
                  federationDatabasesBuilder_.addMessage(m);
                }
                break;
              } // case 18
              case 26: {
                selfLocation_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000004;
                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 bitField0_;
      private java.lang.Object controlPlaneEndpoint_ = "";
      /**
       * string control_plane_endpoint = 1;
       * @return The controlPlaneEndpoint.
       */
      public java.lang.String getControlPlaneEndpoint() {
        java.lang.Object ref = controlPlaneEndpoint_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          controlPlaneEndpoint_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string control_plane_endpoint = 1;
       * @return The bytes for controlPlaneEndpoint.
       */
      public com.google.protobuf.ByteString
          getControlPlaneEndpointBytes() {
        java.lang.Object ref = controlPlaneEndpoint_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          controlPlaneEndpoint_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string control_plane_endpoint = 1;
       * @param value The controlPlaneEndpoint to set.
       * @return This builder for chaining.
       */
      public Builder setControlPlaneEndpoint(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        controlPlaneEndpoint_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * string control_plane_endpoint = 1;
       * @return This builder for chaining.
       */
      public Builder clearControlPlaneEndpoint() {
        controlPlaneEndpoint_ = getDefaultInstance().getControlPlaneEndpoint();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * string control_plane_endpoint = 1;
       * @param value The bytes for controlPlaneEndpoint to set.
       * @return This builder for chaining.
       */
      public Builder setControlPlaneEndpointBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        controlPlaneEndpoint_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      private java.util.List federationDatabases_ =
        java.util.Collections.emptyList();
      private void ensureFederationDatabasesIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          federationDatabases_ = new java.util.ArrayList(federationDatabases_);
          bitField0_ |= 0x00000002;
         }
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder> federationDatabasesBuilder_;
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public java.util.List getFederationDatabasesList() {
        if (federationDatabasesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(federationDatabases_);
        } else {
          return federationDatabasesBuilder_.getMessageList();
        }
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public int getFederationDatabasesCount() {
        if (federationDatabasesBuilder_ == null) {
          return federationDatabases_.size();
        } else {
          return federationDatabasesBuilder_.getCount();
        }
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo getFederationDatabases(int index) {
        if (federationDatabasesBuilder_ == null) {
          return federationDatabases_.get(index);
        } else {
          return federationDatabasesBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder setFederationDatabases(
          int index, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo value) {
        if (federationDatabasesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFederationDatabasesIsMutable();
          federationDatabases_.set(index, value);
          onChanged();
        } else {
          federationDatabasesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder setFederationDatabases(
          int index, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder builderForValue) {
        if (federationDatabasesBuilder_ == null) {
          ensureFederationDatabasesIsMutable();
          federationDatabases_.set(index, builderForValue.build());
          onChanged();
        } else {
          federationDatabasesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder addFederationDatabases(tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo value) {
        if (federationDatabasesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFederationDatabasesIsMutable();
          federationDatabases_.add(value);
          onChanged();
        } else {
          federationDatabasesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder addFederationDatabases(
          int index, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo value) {
        if (federationDatabasesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFederationDatabasesIsMutable();
          federationDatabases_.add(index, value);
          onChanged();
        } else {
          federationDatabasesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder addFederationDatabases(
          tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder builderForValue) {
        if (federationDatabasesBuilder_ == null) {
          ensureFederationDatabasesIsMutable();
          federationDatabases_.add(builderForValue.build());
          onChanged();
        } else {
          federationDatabasesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder addFederationDatabases(
          int index, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder builderForValue) {
        if (federationDatabasesBuilder_ == null) {
          ensureFederationDatabasesIsMutable();
          federationDatabases_.add(index, builderForValue.build());
          onChanged();
        } else {
          federationDatabasesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder addAllFederationDatabases(
          java.lang.Iterable extends tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo> values) {
        if (federationDatabasesBuilder_ == null) {
          ensureFederationDatabasesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, federationDatabases_);
          onChanged();
        } else {
          federationDatabasesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder clearFederationDatabases() {
        if (federationDatabasesBuilder_ == null) {
          federationDatabases_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          federationDatabasesBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public Builder removeFederationDatabases(int index) {
        if (federationDatabasesBuilder_ == null) {
          ensureFederationDatabasesIsMutable();
          federationDatabases_.remove(index);
          onChanged();
        } else {
          federationDatabasesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder getFederationDatabasesBuilder(
          int index) {
        return getFederationDatabasesFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder getFederationDatabasesOrBuilder(
          int index) {
        if (federationDatabasesBuilder_ == null) {
          return federationDatabases_.get(index);  } else {
          return federationDatabasesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public java.util.List extends tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder> 
           getFederationDatabasesOrBuilderList() {
        if (federationDatabasesBuilder_ != null) {
          return federationDatabasesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(federationDatabases_);
        }
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder addFederationDatabasesBuilder() {
        return getFederationDatabasesFieldBuilder().addBuilder(
            tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.getDefaultInstance());
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder addFederationDatabasesBuilder(
          int index) {
        return getFederationDatabasesFieldBuilder().addBuilder(
            index, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.getDefaultInstance());
      }
      /**
       * repeated .Ydb.FederationDiscovery.DatabaseInfo federation_databases = 2;
       */
      public java.util.List 
           getFederationDatabasesBuilderList() {
        return getFederationDatabasesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder> 
          getFederationDatabasesFieldBuilder() {
        if (federationDatabasesBuilder_ == null) {
          federationDatabasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfo.Builder, tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.DatabaseInfoOrBuilder>(
                  federationDatabases_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          federationDatabases_ = null;
        }
        return federationDatabasesBuilder_;
      }
      private java.lang.Object selfLocation_ = "";
      /**
       * string self_location = 3;
       * @return The selfLocation.
       */
      public java.lang.String getSelfLocation() {
        java.lang.Object ref = selfLocation_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          selfLocation_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string self_location = 3;
       * @return The bytes for selfLocation.
       */
      public com.google.protobuf.ByteString
          getSelfLocationBytes() {
        java.lang.Object ref = selfLocation_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          selfLocation_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string self_location = 3;
       * @param value The selfLocation to set.
       * @return This builder for chaining.
       */
      public Builder setSelfLocation(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        selfLocation_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * string self_location = 3;
       * @return This builder for chaining.
       */
      public Builder clearSelfLocation() {
        selfLocation_ = getDefaultInstance().getSelfLocation();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * string self_location = 3;
       * @param value The bytes for selfLocation to set.
       * @return This builder for chaining.
       */
      public Builder setSelfLocationBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        selfLocation_ = value;
        bitField0_ |= 0x00000004;
        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:Ydb.FederationDiscovery.ListFederationDatabasesResult)
    }
    // @@protoc_insertion_point(class_scope:Ydb.FederationDiscovery.ListFederationDatabasesResult)
    private static final tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult();
    }
    public static tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ListFederationDatabasesResult 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 tech.ydb.proto.federation.discovery.FederationDiscoveryProtos.ListFederationDatabasesResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_Ydb_FederationDiscovery_DatabaseInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_Ydb_FederationDiscovery_DatabaseInfo_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_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%protos/ydb_federation_discovery.proto\022" +
      "\027Ydb.FederationDiscovery\032\032protos/ydb_ope" +
      "ration.proto\"\371\001\n\014DatabaseInfo\022\014\n\004name\030\001 " +
      "\001(\t\022\014\n\004path\030\002 \001(\t\022\n\n\002id\030\003 \001(\t\022\020\n\010endpoin" +
      "t\030\004 \001(\t\022\020\n\010location\030\005 \001(\t\022<\n\006status\030\006 \001(" +
      "\0162,.Ydb.FederationDiscovery.DatabaseInfo" +
      ".Status\022\016\n\006weight\030\007 \001(\003\"O\n\006Status\022\026\n\022STA" +
      "TUS_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001\022\r\n\tREAD" +
      "_ONLY\020\002\022\017\n\013UNAVAILABLE\020\003\" \n\036ListFederati" +
      "onDatabasesRequest\"O\n\037ListFederationData" +
      "basesResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.O" +
      "perations.Operation\"\233\001\n\035ListFederationDa" +
      "tabasesResult\022\036\n\026control_plane_endpoint\030" +
      "\001 \001(\t\022C\n\024federation_databases\030\002 \003(\0132%.Yd" +
      "b.FederationDiscovery.DatabaseInfo\022\025\n\rse" +
      "lf_location\030\003 \001(\tB\213\001\n#tech.ydb.proto.fed" +
      "eration.discoveryB\031FederationDiscoveryPr" +
      "otosZFgithub.com/ydb-platform/ydb-go-gen" +
      "proto/protos/Ydb_FederationDiscovery\370\001\001b" +
      "\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          tech.ydb.proto.OperationProtos.getDescriptor(),
        });
    internal_static_Ydb_FederationDiscovery_DatabaseInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_Ydb_FederationDiscovery_DatabaseInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_Ydb_FederationDiscovery_DatabaseInfo_descriptor,
        new java.lang.String[] { "Name", "Path", "Id", "Endpoint", "Location", "Status", "Weight", });
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_Ydb_FederationDiscovery_ListFederationDatabasesRequest_descriptor,
        new java.lang.String[] { });
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResponse_descriptor,
        new java.lang.String[] { "Operation", });
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_Ydb_FederationDiscovery_ListFederationDatabasesResult_descriptor,
        new java.lang.String[] { "ControlPlaneEndpoint", "FederationDatabases", "SelfLocation", });
    tech.ydb.proto.OperationProtos.getDescriptor();
  }
  // @@protoc_insertion_point(outer_class_scope)
}
                                 © 2015 - 2025 Weber Informatics LLC | Privacy Policy