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

org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy Maven / Gradle / Ivy

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

package org.apache.bookkeeper.stream.proto;

/**
 * Protobuf type {@code bookkeeper.proto.stream.BandwidthBasedSplitPolicy}
 */
public final class BandwidthBasedSplitPolicy extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:bookkeeper.proto.stream.BandwidthBasedSplitPolicy)
    BandwidthBasedSplitPolicyOrBuilder {
private static final long serialVersionUID = 0L;
  // Use BandwidthBasedSplitPolicy.newBuilder() to construct.
  private BandwidthBasedSplitPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private BandwidthBasedSplitPolicy() {
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_BandwidthBasedSplitPolicy_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_BandwidthBasedSplitPolicy_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy.class, org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy.Builder.class);
  }

  public static final int MAX_RATE_IN_BYTES_FIELD_NUMBER = 1;
  private int maxRateInBytes_ = 0;
  /**
   * int32 max_rate_in_bytes = 1;
   * @return The maxRateInBytes.
   */
  @java.lang.Override
  public int getMaxRateInBytes() {
    return maxRateInBytes_;
  }

  public static final int MIN_RATE_IN_BYTES_FIELD_NUMBER = 2;
  private int minRateInBytes_ = 0;
  /**
   * int32 min_rate_in_bytes = 2;
   * @return The minRateInBytes.
   */
  @java.lang.Override
  public int getMinRateInBytes() {
    return minRateInBytes_;
  }

  public static final int MAX_RATE_IN_RECORDS_FIELD_NUMBER = 3;
  private int maxRateInRecords_ = 0;
  /**
   * int32 max_rate_in_records = 3;
   * @return The maxRateInRecords.
   */
  @java.lang.Override
  public int getMaxRateInRecords() {
    return maxRateInRecords_;
  }

  public static final int MIN_RATE_IN_RECORDS_FIELD_NUMBER = 4;
  private int minRateInRecords_ = 0;
  /**
   * int32 min_rate_in_records = 4;
   * @return The minRateInRecords.
   */
  @java.lang.Override
  public int getMinRateInRecords() {
    return minRateInRecords_;
  }

  public static final int MAX_SPLIT_FACTOR_FIELD_NUMBER = 5;
  private int maxSplitFactor_ = 0;
  /**
   * int32 max_split_factor = 5;
   * @return The maxSplitFactor.
   */
  @java.lang.Override
  public int getMaxSplitFactor() {
    return maxSplitFactor_;
  }

  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 (maxRateInBytes_ != 0) {
      output.writeInt32(1, maxRateInBytes_);
    }
    if (minRateInBytes_ != 0) {
      output.writeInt32(2, minRateInBytes_);
    }
    if (maxRateInRecords_ != 0) {
      output.writeInt32(3, maxRateInRecords_);
    }
    if (minRateInRecords_ != 0) {
      output.writeInt32(4, minRateInRecords_);
    }
    if (maxSplitFactor_ != 0) {
      output.writeInt32(5, maxSplitFactor_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (maxRateInBytes_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, maxRateInBytes_);
    }
    if (minRateInBytes_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, minRateInBytes_);
    }
    if (maxRateInRecords_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, maxRateInRecords_);
    }
    if (minRateInRecords_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, minRateInRecords_);
    }
    if (maxSplitFactor_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, maxSplitFactor_);
    }
    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 org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy)) {
      return super.equals(obj);
    }
    org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy other = (org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy) obj;

    if (getMaxRateInBytes()
        != other.getMaxRateInBytes()) return false;
    if (getMinRateInBytes()
        != other.getMinRateInBytes()) return false;
    if (getMaxRateInRecords()
        != other.getMaxRateInRecords()) return false;
    if (getMinRateInRecords()
        != other.getMinRateInRecords()) return false;
    if (getMaxSplitFactor()
        != other.getMaxSplitFactor()) 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) + MAX_RATE_IN_BYTES_FIELD_NUMBER;
    hash = (53 * hash) + getMaxRateInBytes();
    hash = (37 * hash) + MIN_RATE_IN_BYTES_FIELD_NUMBER;
    hash = (53 * hash) + getMinRateInBytes();
    hash = (37 * hash) + MAX_RATE_IN_RECORDS_FIELD_NUMBER;
    hash = (53 * hash) + getMaxRateInRecords();
    hash = (37 * hash) + MIN_RATE_IN_RECORDS_FIELD_NUMBER;
    hash = (53 * hash) + getMinRateInRecords();
    hash = (37 * hash) + MAX_SPLIT_FACTOR_FIELD_NUMBER;
    hash = (53 * hash) + getMaxSplitFactor();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_BandwidthBasedSplitPolicy_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy.class, org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy.Builder.class);
    }

    // Construct using org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy.newBuilder()
    private Builder() {

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      maxRateInBytes_ = 0;
      minRateInBytes_ = 0;
      maxRateInRecords_ = 0;
      minRateInRecords_ = 0;
      maxSplitFactor_ = 0;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_BandwidthBasedSplitPolicy_descriptor;
    }

    @java.lang.Override
    public org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy getDefaultInstanceForType() {
      return org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy.getDefaultInstance();
    }

    @java.lang.Override
    public org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy build() {
      org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy buildPartial() {
      org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy result = new org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartial0(org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.maxRateInBytes_ = maxRateInBytes_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.minRateInBytes_ = minRateInBytes_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.maxRateInRecords_ = maxRateInRecords_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.minRateInRecords_ = minRateInRecords_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.maxSplitFactor_ = maxSplitFactor_;
      }
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy) {
        return mergeFrom((org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy other) {
      if (other == org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy.getDefaultInstance()) return this;
      if (other.getMaxRateInBytes() != 0) {
        setMaxRateInBytes(other.getMaxRateInBytes());
      }
      if (other.getMinRateInBytes() != 0) {
        setMinRateInBytes(other.getMinRateInBytes());
      }
      if (other.getMaxRateInRecords() != 0) {
        setMaxRateInRecords(other.getMaxRateInRecords());
      }
      if (other.getMinRateInRecords() != 0) {
        setMinRateInRecords(other.getMinRateInRecords());
      }
      if (other.getMaxSplitFactor() != 0) {
        setMaxSplitFactor(other.getMaxSplitFactor());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

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

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

    private int maxRateInBytes_ ;
    /**
     * int32 max_rate_in_bytes = 1;
     * @return The maxRateInBytes.
     */
    @java.lang.Override
    public int getMaxRateInBytes() {
      return maxRateInBytes_;
    }
    /**
     * int32 max_rate_in_bytes = 1;
     * @param value The maxRateInBytes to set.
     * @return This builder for chaining.
     */
    public Builder setMaxRateInBytes(int value) {

      maxRateInBytes_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * int32 max_rate_in_bytes = 1;
     * @return This builder for chaining.
     */
    public Builder clearMaxRateInBytes() {
      bitField0_ = (bitField0_ & ~0x00000001);
      maxRateInBytes_ = 0;
      onChanged();
      return this;
    }

    private int minRateInBytes_ ;
    /**
     * int32 min_rate_in_bytes = 2;
     * @return The minRateInBytes.
     */
    @java.lang.Override
    public int getMinRateInBytes() {
      return minRateInBytes_;
    }
    /**
     * int32 min_rate_in_bytes = 2;
     * @param value The minRateInBytes to set.
     * @return This builder for chaining.
     */
    public Builder setMinRateInBytes(int value) {

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

    private int maxRateInRecords_ ;
    /**
     * int32 max_rate_in_records = 3;
     * @return The maxRateInRecords.
     */
    @java.lang.Override
    public int getMaxRateInRecords() {
      return maxRateInRecords_;
    }
    /**
     * int32 max_rate_in_records = 3;
     * @param value The maxRateInRecords to set.
     * @return This builder for chaining.
     */
    public Builder setMaxRateInRecords(int value) {

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

    private int minRateInRecords_ ;
    /**
     * int32 min_rate_in_records = 4;
     * @return The minRateInRecords.
     */
    @java.lang.Override
    public int getMinRateInRecords() {
      return minRateInRecords_;
    }
    /**
     * int32 min_rate_in_records = 4;
     * @param value The minRateInRecords to set.
     * @return This builder for chaining.
     */
    public Builder setMinRateInRecords(int value) {

      minRateInRecords_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * int32 min_rate_in_records = 4;
     * @return This builder for chaining.
     */
    public Builder clearMinRateInRecords() {
      bitField0_ = (bitField0_ & ~0x00000008);
      minRateInRecords_ = 0;
      onChanged();
      return this;
    }

    private int maxSplitFactor_ ;
    /**
     * int32 max_split_factor = 5;
     * @return The maxSplitFactor.
     */
    @java.lang.Override
    public int getMaxSplitFactor() {
      return maxSplitFactor_;
    }
    /**
     * int32 max_split_factor = 5;
     * @param value The maxSplitFactor to set.
     * @return This builder for chaining.
     */
    public Builder setMaxSplitFactor(int value) {

      maxSplitFactor_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * int32 max_split_factor = 5;
     * @return This builder for chaining.
     */
    public Builder clearMaxSplitFactor() {
      bitField0_ = (bitField0_ & ~0x00000010);
      maxSplitFactor_ = 0;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:bookkeeper.proto.stream.BandwidthBasedSplitPolicy)
  }

  // @@protoc_insertion_point(class_scope:bookkeeper.proto.stream.BandwidthBasedSplitPolicy)
  private static final org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy();
  }

  public static org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public BandwidthBasedSplitPolicy 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 org.apache.bookkeeper.stream.proto.BandwidthBasedSplitPolicy getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy