@Override
  public boolean equals(Object o) {
    if (!(o instanceof AesGcmHkdfStreamingParameters)) {
      return false;
    }
    AesGcmHkdfStreamingParameters that = (AesGcmHkdfStreamingParameters) o;
    return that.getKeySizeBytes() == getKeySizeBytes()
        && that.getDerivedAesGcmKeySizeBytes() == getDerivedAesGcmKeySizeBytes()
        && that.getHkdfHashType() == getHkdfHashType()
        && that.getCiphertextSegmentSizeBytes() == getCiphertextSegmentSizeBytes();
  }
Returns the size a ciphertext segment has.
java_src/src/main/java/com/google/crypto/tink/streamingaead/AesGcmHkdfStreamingParameters.java