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

cz.proto.ClusterInfo Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: table_common.proto

package cz.proto;

/**
 * Protobuf type {@code cz.proto.ClusterInfo}
 */
public final class ClusterInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cz.proto.ClusterInfo)
    ClusterInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ClusterInfo.newBuilder() to construct.
  private ClusterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ClusterInfo() {
    clusterType_ = 0;
    clusteredFields_ = java.util.Collections.emptyList();
    pathPattern_ = "";
  }

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

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

            clusterType_ = rawValue;
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              clusteredFields_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            clusteredFields_.add(
                input.readMessage(cz.proto.FieldRef.parser(), extensionRegistry));
            break;
          }
          case 24: {
            bitField0_ |= 0x00000001;
            bucketsCount_ = input.readUInt64();
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();
            bitField0_ |= 0x00000002;
            pathPattern_ = s;
            break;
          }
          case 82: {
            cz.proto.HashCluster.Builder subBuilder = null;
            if (clusterCase_ == 10) {
              subBuilder = ((cz.proto.HashCluster) cluster_).toBuilder();
            }
            cluster_ =
                input.readMessage(cz.proto.HashCluster.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((cz.proto.HashCluster) cluster_);
              cluster_ = subBuilder.buildPartial();
            }
            clusterCase_ = 10;
            break;
          }
          case 90: {
            cz.proto.RangeCluster.Builder subBuilder = null;
            if (clusterCase_ == 11) {
              subBuilder = ((cz.proto.RangeCluster) cluster_).toBuilder();
            }
            cluster_ =
                input.readMessage(cz.proto.RangeCluster.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((cz.proto.RangeCluster) cluster_);
              cluster_ = subBuilder.buildPartial();
            }
            clusterCase_ = 11;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        clusteredFields_ = java.util.Collections.unmodifiableList(clusteredFields_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.TableCommon.internal_static_cz_proto_ClusterInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return cz.proto.TableCommon.internal_static_cz_proto_ClusterInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            cz.proto.ClusterInfo.class, cz.proto.ClusterInfo.Builder.class);
  }

  private int bitField0_;
  private int clusterCase_ = 0;
  private java.lang.Object cluster_;
  public enum ClusterCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    HASH(10),
    RANGE(11),
    CLUSTER_NOT_SET(0);
    private final int value;
    private ClusterCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ClusterCase valueOf(int value) {
      return forNumber(value);
    }

    public static ClusterCase forNumber(int value) {
      switch (value) {
        case 10: return HASH;
        case 11: return RANGE;
        case 0: return CLUSTER_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public ClusterCase
  getClusterCase() {
    return ClusterCase.forNumber(
        clusterCase_);
  }

  public static final int CLUSTER_TYPE_FIELD_NUMBER = 1;
  private int clusterType_;
  /**
   * .cz.proto.ClusterType cluster_type = 1;
   * @return The enum numeric value on the wire for clusterType.
   */
  @java.lang.Override public int getClusterTypeValue() {
    return clusterType_;
  }
  /**
   * .cz.proto.ClusterType cluster_type = 1;
   * @return The clusterType.
   */
  @java.lang.Override public cz.proto.ClusterType getClusterType() {
    @SuppressWarnings("deprecation")
    cz.proto.ClusterType result = cz.proto.ClusterType.valueOf(clusterType_);
    return result == null ? cz.proto.ClusterType.UNRECOGNIZED : result;
  }

  public static final int CLUSTERED_FIELDS_FIELD_NUMBER = 2;
  private java.util.List clusteredFields_;
  /**
   * repeated .cz.proto.FieldRef clustered_fields = 2;
   */
  @java.lang.Override
  public java.util.List getClusteredFieldsList() {
    return clusteredFields_;
  }
  /**
   * repeated .cz.proto.FieldRef clustered_fields = 2;
   */
  @java.lang.Override
  public java.util.List 
      getClusteredFieldsOrBuilderList() {
    return clusteredFields_;
  }
  /**
   * repeated .cz.proto.FieldRef clustered_fields = 2;
   */
  @java.lang.Override
  public int getClusteredFieldsCount() {
    return clusteredFields_.size();
  }
  /**
   * repeated .cz.proto.FieldRef clustered_fields = 2;
   */
  @java.lang.Override
  public cz.proto.FieldRef getClusteredFields(int index) {
    return clusteredFields_.get(index);
  }
  /**
   * repeated .cz.proto.FieldRef clustered_fields = 2;
   */
  @java.lang.Override
  public cz.proto.FieldRefOrBuilder getClusteredFieldsOrBuilder(
      int index) {
    return clusteredFields_.get(index);
  }

  public static final int BUCKETS_COUNT_FIELD_NUMBER = 3;
  private long bucketsCount_;
  /**
   * optional uint64 buckets_count = 3;
   * @return Whether the bucketsCount field is set.
   */
  @java.lang.Override
  public boolean hasBucketsCount() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional uint64 buckets_count = 3;
   * @return The bucketsCount.
   */
  @java.lang.Override
  public long getBucketsCount() {
    return bucketsCount_;
  }

  public static final int PATH_PATTERN_FIELD_NUMBER = 4;
  private volatile java.lang.Object pathPattern_;
  /**
   * optional string path_pattern = 4;
   * @return Whether the pathPattern field is set.
   */
  @java.lang.Override
  public boolean hasPathPattern() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * optional string path_pattern = 4;
   * @return The pathPattern.
   */
  @java.lang.Override
  public java.lang.String getPathPattern() {
    java.lang.Object ref = pathPattern_;
    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();
      pathPattern_ = s;
      return s;
    }
  }
  /**
   * optional string path_pattern = 4;
   * @return The bytes for pathPattern.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPathPatternBytes() {
    java.lang.Object ref = pathPattern_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      pathPattern_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int HASH_FIELD_NUMBER = 10;
  /**
   * .cz.proto.HashCluster hash = 10;
   * @return Whether the hash field is set.
   */
  @java.lang.Override
  public boolean hasHash() {
    return clusterCase_ == 10;
  }
  /**
   * .cz.proto.HashCluster hash = 10;
   * @return The hash.
   */
  @java.lang.Override
  public cz.proto.HashCluster getHash() {
    if (clusterCase_ == 10) {
       return (cz.proto.HashCluster) cluster_;
    }
    return cz.proto.HashCluster.getDefaultInstance();
  }
  /**
   * .cz.proto.HashCluster hash = 10;
   */
  @java.lang.Override
  public cz.proto.HashClusterOrBuilder getHashOrBuilder() {
    if (clusterCase_ == 10) {
       return (cz.proto.HashCluster) cluster_;
    }
    return cz.proto.HashCluster.getDefaultInstance();
  }

  public static final int RANGE_FIELD_NUMBER = 11;
  /**
   * .cz.proto.RangeCluster range = 11;
   * @return Whether the range field is set.
   */
  @java.lang.Override
  public boolean hasRange() {
    return clusterCase_ == 11;
  }
  /**
   * .cz.proto.RangeCluster range = 11;
   * @return The range.
   */
  @java.lang.Override
  public cz.proto.RangeCluster getRange() {
    if (clusterCase_ == 11) {
       return (cz.proto.RangeCluster) cluster_;
    }
    return cz.proto.RangeCluster.getDefaultInstance();
  }
  /**
   * .cz.proto.RangeCluster range = 11;
   */
  @java.lang.Override
  public cz.proto.RangeClusterOrBuilder getRangeOrBuilder() {
    if (clusterCase_ == 11) {
       return (cz.proto.RangeCluster) cluster_;
    }
    return cz.proto.RangeCluster.getDefaultInstance();
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (clusterType_ != cz.proto.ClusterType.NORMAL.getNumber()) {
      output.writeEnum(1, clusterType_);
    }
    for (int i = 0; i < clusteredFields_.size(); i++) {
      output.writeMessage(2, clusteredFields_.get(i));
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeUInt64(3, bucketsCount_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pathPattern_);
    }
    if (clusterCase_ == 10) {
      output.writeMessage(10, (cz.proto.HashCluster) cluster_);
    }
    if (clusterCase_ == 11) {
      output.writeMessage(11, (cz.proto.RangeCluster) cluster_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (clusterType_ != cz.proto.ClusterType.NORMAL.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(1, clusterType_);
    }
    for (int i = 0; i < clusteredFields_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, clusteredFields_.get(i));
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(3, bucketsCount_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pathPattern_);
    }
    if (clusterCase_ == 10) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(10, (cz.proto.HashCluster) cluster_);
    }
    if (clusterCase_ == 11) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(11, (cz.proto.RangeCluster) cluster_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof cz.proto.ClusterInfo)) {
      return super.equals(obj);
    }
    cz.proto.ClusterInfo other = (cz.proto.ClusterInfo) obj;

    if (clusterType_ != other.clusterType_) return false;
    if (!getClusteredFieldsList()
        .equals(other.getClusteredFieldsList())) return false;
    if (hasBucketsCount() != other.hasBucketsCount()) return false;
    if (hasBucketsCount()) {
      if (getBucketsCount()
          != other.getBucketsCount()) return false;
    }
    if (hasPathPattern() != other.hasPathPattern()) return false;
    if (hasPathPattern()) {
      if (!getPathPattern()
          .equals(other.getPathPattern())) return false;
    }
    if (!getClusterCase().equals(other.getClusterCase())) return false;
    switch (clusterCase_) {
      case 10:
        if (!getHash()
            .equals(other.getHash())) return false;
        break;
      case 11:
        if (!getRange()
            .equals(other.getRange())) return false;
        break;
      case 0:
      default:
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CLUSTER_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + clusterType_;
    if (getClusteredFieldsCount() > 0) {
      hash = (37 * hash) + CLUSTERED_FIELDS_FIELD_NUMBER;
      hash = (53 * hash) + getClusteredFieldsList().hashCode();
    }
    if (hasBucketsCount()) {
      hash = (37 * hash) + BUCKETS_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getBucketsCount());
    }
    if (hasPathPattern()) {
      hash = (37 * hash) + PATH_PATTERN_FIELD_NUMBER;
      hash = (53 * hash) + getPathPattern().hashCode();
    }
    switch (clusterCase_) {
      case 10:
        hash = (37 * hash) + HASH_FIELD_NUMBER;
        hash = (53 * hash) + getHash().hashCode();
        break;
      case 11:
        hash = (37 * hash) + RANGE_FIELD_NUMBER;
        hash = (53 * hash) + getRange().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.TableCommon.internal_static_cz_proto_ClusterInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ClusterInfo.class, cz.proto.ClusterInfo.Builder.class);
    }

    // Construct using cz.proto.ClusterInfo.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getClusteredFieldsFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      clusterType_ = 0;

      if (clusteredFieldsBuilder_ == null) {
        clusteredFields_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        clusteredFieldsBuilder_.clear();
      }
      bucketsCount_ = 0L;
      bitField0_ = (bitField0_ & ~0x00000002);
      pathPattern_ = "";
      bitField0_ = (bitField0_ & ~0x00000004);
      clusterCase_ = 0;
      cluster_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return cz.proto.TableCommon.internal_static_cz_proto_ClusterInfo_descriptor;
    }

    @java.lang.Override
    public cz.proto.ClusterInfo getDefaultInstanceForType() {
      return cz.proto.ClusterInfo.getDefaultInstance();
    }

    @java.lang.Override
    public cz.proto.ClusterInfo build() {
      cz.proto.ClusterInfo result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public cz.proto.ClusterInfo buildPartial() {
      cz.proto.ClusterInfo result = new cz.proto.ClusterInfo(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.clusterType_ = clusterType_;
      if (clusteredFieldsBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          clusteredFields_ = java.util.Collections.unmodifiableList(clusteredFields_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.clusteredFields_ = clusteredFields_;
      } else {
        result.clusteredFields_ = clusteredFieldsBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.bucketsCount_ = bucketsCount_;
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        to_bitField0_ |= 0x00000002;
      }
      result.pathPattern_ = pathPattern_;
      if (clusterCase_ == 10) {
        if (hashBuilder_ == null) {
          result.cluster_ = cluster_;
        } else {
          result.cluster_ = hashBuilder_.build();
        }
      }
      if (clusterCase_ == 11) {
        if (rangeBuilder_ == null) {
          result.cluster_ = cluster_;
        } else {
          result.cluster_ = rangeBuilder_.build();
        }
      }
      result.bitField0_ = to_bitField0_;
      result.clusterCase_ = clusterCase_;
      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 cz.proto.ClusterInfo) {
        return mergeFrom((cz.proto.ClusterInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(cz.proto.ClusterInfo other) {
      if (other == cz.proto.ClusterInfo.getDefaultInstance()) return this;
      if (other.clusterType_ != 0) {
        setClusterTypeValue(other.getClusterTypeValue());
      }
      if (clusteredFieldsBuilder_ == null) {
        if (!other.clusteredFields_.isEmpty()) {
          if (clusteredFields_.isEmpty()) {
            clusteredFields_ = other.clusteredFields_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureClusteredFieldsIsMutable();
            clusteredFields_.addAll(other.clusteredFields_);
          }
          onChanged();
        }
      } else {
        if (!other.clusteredFields_.isEmpty()) {
          if (clusteredFieldsBuilder_.isEmpty()) {
            clusteredFieldsBuilder_.dispose();
            clusteredFieldsBuilder_ = null;
            clusteredFields_ = other.clusteredFields_;
            bitField0_ = (bitField0_ & ~0x00000001);
            clusteredFieldsBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getClusteredFieldsFieldBuilder() : null;
          } else {
            clusteredFieldsBuilder_.addAllMessages(other.clusteredFields_);
          }
        }
      }
      if (other.hasBucketsCount()) {
        setBucketsCount(other.getBucketsCount());
      }
      if (other.hasPathPattern()) {
        bitField0_ |= 0x00000004;
        pathPattern_ = other.pathPattern_;
        onChanged();
      }
      switch (other.getClusterCase()) {
        case HASH: {
          mergeHash(other.getHash());
          break;
        }
        case RANGE: {
          mergeRange(other.getRange());
          break;
        }
        case CLUSTER_NOT_SET: {
          break;
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      cz.proto.ClusterInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (cz.proto.ClusterInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int clusterCase_ = 0;
    private java.lang.Object cluster_;
    public ClusterCase
        getClusterCase() {
      return ClusterCase.forNumber(
          clusterCase_);
    }

    public Builder clearCluster() {
      clusterCase_ = 0;
      cluster_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    private int clusterType_ = 0;
    /**
     * .cz.proto.ClusterType cluster_type = 1;
     * @return The enum numeric value on the wire for clusterType.
     */
    @java.lang.Override public int getClusterTypeValue() {
      return clusterType_;
    }
    /**
     * .cz.proto.ClusterType cluster_type = 1;
     * @param value The enum numeric value on the wire for clusterType to set.
     * @return This builder for chaining.
     */
    public Builder setClusterTypeValue(int value) {
      
      clusterType_ = value;
      onChanged();
      return this;
    }
    /**
     * .cz.proto.ClusterType cluster_type = 1;
     * @return The clusterType.
     */
    @java.lang.Override
    public cz.proto.ClusterType getClusterType() {
      @SuppressWarnings("deprecation")
      cz.proto.ClusterType result = cz.proto.ClusterType.valueOf(clusterType_);
      return result == null ? cz.proto.ClusterType.UNRECOGNIZED : result;
    }
    /**
     * .cz.proto.ClusterType cluster_type = 1;
     * @param value The clusterType to set.
     * @return This builder for chaining.
     */
    public Builder setClusterType(cz.proto.ClusterType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      clusterType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * .cz.proto.ClusterType cluster_type = 1;
     * @return This builder for chaining.
     */
    public Builder clearClusterType() {
      
      clusterType_ = 0;
      onChanged();
      return this;
    }

    private java.util.List clusteredFields_ =
      java.util.Collections.emptyList();
    private void ensureClusteredFieldsIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        clusteredFields_ = new java.util.ArrayList(clusteredFields_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.FieldRef, cz.proto.FieldRef.Builder, cz.proto.FieldRefOrBuilder> clusteredFieldsBuilder_;

    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public java.util.List getClusteredFieldsList() {
      if (clusteredFieldsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(clusteredFields_);
      } else {
        return clusteredFieldsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public int getClusteredFieldsCount() {
      if (clusteredFieldsBuilder_ == null) {
        return clusteredFields_.size();
      } else {
        return clusteredFieldsBuilder_.getCount();
      }
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public cz.proto.FieldRef getClusteredFields(int index) {
      if (clusteredFieldsBuilder_ == null) {
        return clusteredFields_.get(index);
      } else {
        return clusteredFieldsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder setClusteredFields(
        int index, cz.proto.FieldRef value) {
      if (clusteredFieldsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureClusteredFieldsIsMutable();
        clusteredFields_.set(index, value);
        onChanged();
      } else {
        clusteredFieldsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder setClusteredFields(
        int index, cz.proto.FieldRef.Builder builderForValue) {
      if (clusteredFieldsBuilder_ == null) {
        ensureClusteredFieldsIsMutable();
        clusteredFields_.set(index, builderForValue.build());
        onChanged();
      } else {
        clusteredFieldsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder addClusteredFields(cz.proto.FieldRef value) {
      if (clusteredFieldsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureClusteredFieldsIsMutable();
        clusteredFields_.add(value);
        onChanged();
      } else {
        clusteredFieldsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder addClusteredFields(
        int index, cz.proto.FieldRef value) {
      if (clusteredFieldsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureClusteredFieldsIsMutable();
        clusteredFields_.add(index, value);
        onChanged();
      } else {
        clusteredFieldsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder addClusteredFields(
        cz.proto.FieldRef.Builder builderForValue) {
      if (clusteredFieldsBuilder_ == null) {
        ensureClusteredFieldsIsMutable();
        clusteredFields_.add(builderForValue.build());
        onChanged();
      } else {
        clusteredFieldsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder addClusteredFields(
        int index, cz.proto.FieldRef.Builder builderForValue) {
      if (clusteredFieldsBuilder_ == null) {
        ensureClusteredFieldsIsMutable();
        clusteredFields_.add(index, builderForValue.build());
        onChanged();
      } else {
        clusteredFieldsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder addAllClusteredFields(
        java.lang.Iterable values) {
      if (clusteredFieldsBuilder_ == null) {
        ensureClusteredFieldsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, clusteredFields_);
        onChanged();
      } else {
        clusteredFieldsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder clearClusteredFields() {
      if (clusteredFieldsBuilder_ == null) {
        clusteredFields_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        clusteredFieldsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public Builder removeClusteredFields(int index) {
      if (clusteredFieldsBuilder_ == null) {
        ensureClusteredFieldsIsMutable();
        clusteredFields_.remove(index);
        onChanged();
      } else {
        clusteredFieldsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public cz.proto.FieldRef.Builder getClusteredFieldsBuilder(
        int index) {
      return getClusteredFieldsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public cz.proto.FieldRefOrBuilder getClusteredFieldsOrBuilder(
        int index) {
      if (clusteredFieldsBuilder_ == null) {
        return clusteredFields_.get(index);  } else {
        return clusteredFieldsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public java.util.List 
         getClusteredFieldsOrBuilderList() {
      if (clusteredFieldsBuilder_ != null) {
        return clusteredFieldsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(clusteredFields_);
      }
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public cz.proto.FieldRef.Builder addClusteredFieldsBuilder() {
      return getClusteredFieldsFieldBuilder().addBuilder(
          cz.proto.FieldRef.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public cz.proto.FieldRef.Builder addClusteredFieldsBuilder(
        int index) {
      return getClusteredFieldsFieldBuilder().addBuilder(
          index, cz.proto.FieldRef.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.FieldRef clustered_fields = 2;
     */
    public java.util.List 
         getClusteredFieldsBuilderList() {
      return getClusteredFieldsFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.FieldRef, cz.proto.FieldRef.Builder, cz.proto.FieldRefOrBuilder> 
        getClusteredFieldsFieldBuilder() {
      if (clusteredFieldsBuilder_ == null) {
        clusteredFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            cz.proto.FieldRef, cz.proto.FieldRef.Builder, cz.proto.FieldRefOrBuilder>(
                clusteredFields_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        clusteredFields_ = null;
      }
      return clusteredFieldsBuilder_;
    }

    private long bucketsCount_ ;
    /**
     * optional uint64 buckets_count = 3;
     * @return Whether the bucketsCount field is set.
     */
    @java.lang.Override
    public boolean hasBucketsCount() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional uint64 buckets_count = 3;
     * @return The bucketsCount.
     */
    @java.lang.Override
    public long getBucketsCount() {
      return bucketsCount_;
    }
    /**
     * optional uint64 buckets_count = 3;
     * @param value The bucketsCount to set.
     * @return This builder for chaining.
     */
    public Builder setBucketsCount(long value) {
      bitField0_ |= 0x00000002;
      bucketsCount_ = value;
      onChanged();
      return this;
    }
    /**
     * optional uint64 buckets_count = 3;
     * @return This builder for chaining.
     */
    public Builder clearBucketsCount() {
      bitField0_ = (bitField0_ & ~0x00000002);
      bucketsCount_ = 0L;
      onChanged();
      return this;
    }

    private java.lang.Object pathPattern_ = "";
    /**
     * optional string path_pattern = 4;
     * @return Whether the pathPattern field is set.
     */
    public boolean hasPathPattern() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional string path_pattern = 4;
     * @return The pathPattern.
     */
    public java.lang.String getPathPattern() {
      java.lang.Object ref = pathPattern_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pathPattern_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string path_pattern = 4;
     * @return The bytes for pathPattern.
     */
    public com.google.protobuf.ByteString
        getPathPatternBytes() {
      java.lang.Object ref = pathPattern_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pathPattern_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string path_pattern = 4;
     * @param value The pathPattern to set.
     * @return This builder for chaining.
     */
    public Builder setPathPattern(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
      pathPattern_ = value;
      onChanged();
      return this;
    }
    /**
     * optional string path_pattern = 4;
     * @return This builder for chaining.
     */
    public Builder clearPathPattern() {
      bitField0_ = (bitField0_ & ~0x00000004);
      pathPattern_ = getDefaultInstance().getPathPattern();
      onChanged();
      return this;
    }
    /**
     * optional string path_pattern = 4;
     * @param value The bytes for pathPattern to set.
     * @return This builder for chaining.
     */
    public Builder setPathPatternBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      bitField0_ |= 0x00000004;
      pathPattern_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.HashCluster, cz.proto.HashCluster.Builder, cz.proto.HashClusterOrBuilder> hashBuilder_;
    /**
     * .cz.proto.HashCluster hash = 10;
     * @return Whether the hash field is set.
     */
    @java.lang.Override
    public boolean hasHash() {
      return clusterCase_ == 10;
    }
    /**
     * .cz.proto.HashCluster hash = 10;
     * @return The hash.
     */
    @java.lang.Override
    public cz.proto.HashCluster getHash() {
      if (hashBuilder_ == null) {
        if (clusterCase_ == 10) {
          return (cz.proto.HashCluster) cluster_;
        }
        return cz.proto.HashCluster.getDefaultInstance();
      } else {
        if (clusterCase_ == 10) {
          return hashBuilder_.getMessage();
        }
        return cz.proto.HashCluster.getDefaultInstance();
      }
    }
    /**
     * .cz.proto.HashCluster hash = 10;
     */
    public Builder setHash(cz.proto.HashCluster value) {
      if (hashBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        cluster_ = value;
        onChanged();
      } else {
        hashBuilder_.setMessage(value);
      }
      clusterCase_ = 10;
      return this;
    }
    /**
     * .cz.proto.HashCluster hash = 10;
     */
    public Builder setHash(
        cz.proto.HashCluster.Builder builderForValue) {
      if (hashBuilder_ == null) {
        cluster_ = builderForValue.build();
        onChanged();
      } else {
        hashBuilder_.setMessage(builderForValue.build());
      }
      clusterCase_ = 10;
      return this;
    }
    /**
     * .cz.proto.HashCluster hash = 10;
     */
    public Builder mergeHash(cz.proto.HashCluster value) {
      if (hashBuilder_ == null) {
        if (clusterCase_ == 10 &&
            cluster_ != cz.proto.HashCluster.getDefaultInstance()) {
          cluster_ = cz.proto.HashCluster.newBuilder((cz.proto.HashCluster) cluster_)
              .mergeFrom(value).buildPartial();
        } else {
          cluster_ = value;
        }
        onChanged();
      } else {
        if (clusterCase_ == 10) {
          hashBuilder_.mergeFrom(value);
        }
        hashBuilder_.setMessage(value);
      }
      clusterCase_ = 10;
      return this;
    }
    /**
     * .cz.proto.HashCluster hash = 10;
     */
    public Builder clearHash() {
      if (hashBuilder_ == null) {
        if (clusterCase_ == 10) {
          clusterCase_ = 0;
          cluster_ = null;
          onChanged();
        }
      } else {
        if (clusterCase_ == 10) {
          clusterCase_ = 0;
          cluster_ = null;
        }
        hashBuilder_.clear();
      }
      return this;
    }
    /**
     * .cz.proto.HashCluster hash = 10;
     */
    public cz.proto.HashCluster.Builder getHashBuilder() {
      return getHashFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.HashCluster hash = 10;
     */
    @java.lang.Override
    public cz.proto.HashClusterOrBuilder getHashOrBuilder() {
      if ((clusterCase_ == 10) && (hashBuilder_ != null)) {
        return hashBuilder_.getMessageOrBuilder();
      } else {
        if (clusterCase_ == 10) {
          return (cz.proto.HashCluster) cluster_;
        }
        return cz.proto.HashCluster.getDefaultInstance();
      }
    }
    /**
     * .cz.proto.HashCluster hash = 10;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.HashCluster, cz.proto.HashCluster.Builder, cz.proto.HashClusterOrBuilder> 
        getHashFieldBuilder() {
      if (hashBuilder_ == null) {
        if (!(clusterCase_ == 10)) {
          cluster_ = cz.proto.HashCluster.getDefaultInstance();
        }
        hashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.HashCluster, cz.proto.HashCluster.Builder, cz.proto.HashClusterOrBuilder>(
                (cz.proto.HashCluster) cluster_,
                getParentForChildren(),
                isClean());
        cluster_ = null;
      }
      clusterCase_ = 10;
      onChanged();;
      return hashBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.RangeCluster, cz.proto.RangeCluster.Builder, cz.proto.RangeClusterOrBuilder> rangeBuilder_;
    /**
     * .cz.proto.RangeCluster range = 11;
     * @return Whether the range field is set.
     */
    @java.lang.Override
    public boolean hasRange() {
      return clusterCase_ == 11;
    }
    /**
     * .cz.proto.RangeCluster range = 11;
     * @return The range.
     */
    @java.lang.Override
    public cz.proto.RangeCluster getRange() {
      if (rangeBuilder_ == null) {
        if (clusterCase_ == 11) {
          return (cz.proto.RangeCluster) cluster_;
        }
        return cz.proto.RangeCluster.getDefaultInstance();
      } else {
        if (clusterCase_ == 11) {
          return rangeBuilder_.getMessage();
        }
        return cz.proto.RangeCluster.getDefaultInstance();
      }
    }
    /**
     * .cz.proto.RangeCluster range = 11;
     */
    public Builder setRange(cz.proto.RangeCluster value) {
      if (rangeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        cluster_ = value;
        onChanged();
      } else {
        rangeBuilder_.setMessage(value);
      }
      clusterCase_ = 11;
      return this;
    }
    /**
     * .cz.proto.RangeCluster range = 11;
     */
    public Builder setRange(
        cz.proto.RangeCluster.Builder builderForValue) {
      if (rangeBuilder_ == null) {
        cluster_ = builderForValue.build();
        onChanged();
      } else {
        rangeBuilder_.setMessage(builderForValue.build());
      }
      clusterCase_ = 11;
      return this;
    }
    /**
     * .cz.proto.RangeCluster range = 11;
     */
    public Builder mergeRange(cz.proto.RangeCluster value) {
      if (rangeBuilder_ == null) {
        if (clusterCase_ == 11 &&
            cluster_ != cz.proto.RangeCluster.getDefaultInstance()) {
          cluster_ = cz.proto.RangeCluster.newBuilder((cz.proto.RangeCluster) cluster_)
              .mergeFrom(value).buildPartial();
        } else {
          cluster_ = value;
        }
        onChanged();
      } else {
        if (clusterCase_ == 11) {
          rangeBuilder_.mergeFrom(value);
        }
        rangeBuilder_.setMessage(value);
      }
      clusterCase_ = 11;
      return this;
    }
    /**
     * .cz.proto.RangeCluster range = 11;
     */
    public Builder clearRange() {
      if (rangeBuilder_ == null) {
        if (clusterCase_ == 11) {
          clusterCase_ = 0;
          cluster_ = null;
          onChanged();
        }
      } else {
        if (clusterCase_ == 11) {
          clusterCase_ = 0;
          cluster_ = null;
        }
        rangeBuilder_.clear();
      }
      return this;
    }
    /**
     * .cz.proto.RangeCluster range = 11;
     */
    public cz.proto.RangeCluster.Builder getRangeBuilder() {
      return getRangeFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.RangeCluster range = 11;
     */
    @java.lang.Override
    public cz.proto.RangeClusterOrBuilder getRangeOrBuilder() {
      if ((clusterCase_ == 11) && (rangeBuilder_ != null)) {
        return rangeBuilder_.getMessageOrBuilder();
      } else {
        if (clusterCase_ == 11) {
          return (cz.proto.RangeCluster) cluster_;
        }
        return cz.proto.RangeCluster.getDefaultInstance();
      }
    }
    /**
     * .cz.proto.RangeCluster range = 11;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.RangeCluster, cz.proto.RangeCluster.Builder, cz.proto.RangeClusterOrBuilder> 
        getRangeFieldBuilder() {
      if (rangeBuilder_ == null) {
        if (!(clusterCase_ == 11)) {
          cluster_ = cz.proto.RangeCluster.getDefaultInstance();
        }
        rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.RangeCluster, cz.proto.RangeCluster.Builder, cz.proto.RangeClusterOrBuilder>(
                (cz.proto.RangeCluster) cluster_,
                getParentForChildren(),
                isClean());
        cluster_ = null;
      }
      clusterCase_ = 11;
      onChanged();;
      return rangeBuilder_;
    }
    @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:cz.proto.ClusterInfo)
  }

  // @@protoc_insertion_point(class_scope:cz.proto.ClusterInfo)
  private static final cz.proto.ClusterInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new cz.proto.ClusterInfo();
  }

  public static cz.proto.ClusterInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public ClusterInfo parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new ClusterInfo(input, extensionRegistry);
    }
  };

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

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

  @java.lang.Override
  public cz.proto.ClusterInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy